From aa01f0afe1b6218eddc956b1f9ec901f6256c3c4 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 20 Apr 2022 19:36:02 +0300 Subject: feat: use corrrect date formats in RSS --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 77b1fc5..6ed0e45 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ all: $(HTML) $(RSS_FEED) @echo $@ @echo '' > $@ @echo " https://eug-vs.xyz/$*.html" >> $@ - @echo " $*" >> $@ + @echo " $$(date --rfc-email -d $$(basename $*))" >> $@ @echo " $$(sed '/^#/q' $< | sed 's/:[a-z]*://; s/#* //')" >> $@ @echo " > $@ @sed "$(LINK_SEDSTRING) $(EMOJI_SEDSTRING)" $< | pandoc $(PANDOC_ARGS) $< >> $@ @@ -47,6 +47,7 @@ $(RSS_FEED): $(XML) @echo $@ @echo '' > $@ @echo "Eugene's Spacehttps://eug-vs.xyzEugene's blog" >> $@ + @echo "$$(date --rfc-email)" >> $@ @cat $$(echo $^ | tr " " "\n" | sort -r | tr "\n" " ") >> $@ @echo '' >> $@ -- cgit v1.2.3