diff --git a/blueprints/now.py b/blueprints/now.py index c7f3507..3c5300f 100644 --- a/blueprints/now.py +++ b/blueprints/now.py @@ -197,8 +197,17 @@ def rss(): for page in now_pages: link = page.strip(".html") date = datetime.datetime.strptime(link, "%y_%m_%d") + pubdate = date.strftime("%a, %d %b %Y 00:00:00 +0000") date = date.strftime("%A, %B %d, %Y") - rss += f"What's Happening {date}{host}/now/{link}Latest updates for {date}{host}/now/{link}" + rss += f""" + + What's Happening {date} + {host}/now/{link} + Latest updates for {date} + {pubdate} + {host}/now/{link} + + """ rss += "" return make_response(rss, 200, {"Content-Type": "application/rss+xml"})