Open external links in new tabs, set correct dates for RSS feed

This commit is contained in:
mez 2025-02-01 14:29:09 +00:00
parent 6502979225
commit 1830a5f64d
7 changed files with 47 additions and 39 deletions

View file

@ -160,8 +160,7 @@ def feedgen(local=False):
filewrite.write(", " + thegenre)
genred = True
filewrite.write("</title>\n<pubDate>")
futuredate = date + datetime.timedelta(days=2)
filewrite.write(futuredate.strftime("%a, %-d %b %Y"))
filewrite.write(date.strftime("%a, %-d %b %Y"))
filewrite.write(" 00:00:00 GMT</pubDate>\n<link>")
if local:
filewrite.write("/home/mdd/Documents/proj/fic-archive/build/")