Use git for pub date in RSS #2

Merged
dozens merged 1 commits from kindrobot/protoadandsuperbowl:kr-fix_rss into master 2022-08-25 18:27:15 +00:00

1 Commits (master)

Author SHA1 Message Date
Stef Dunlap c6b12cd331 Use git for pub date in RSS
I noticed that the RSS feed was using stat to figure out when a file was
modified for its pub date. This has the unfortunate side effect that the
comics are out of order in the RSS feed based on if they are modified
(e.g. for a typo.) This uses git to find out when the file was first
introduced and uses that as the pub date. A note, the file will first
have to be committed before updating the RSS feed, so the steps may look
something like

	just build
	git commit .
	just rss
	git commit .

Hopefully that's not too cumbersome.
2022-08-25 14:22:13 -04:00