From 6879b73c3bfd012afd8a8b88852984598e792137 Mon Sep 17 00:00:00 2001 From: manetta Date: Wed, 16 Feb 2022 16:36:20 +0100 Subject: [PATCH] matching the RSS build date with w3c standards --- LogBot/feed.rss | 18 ------------------ LogBot/logbot.py | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 LogBot/feed.rss diff --git a/LogBot/feed.rss b/LogBot/feed.rss deleted file mode 100644 index 57f1a0d..0000000 --- a/LogBot/feed.rss +++ /dev/null @@ -1,18 +0,0 @@ - - - - {{ title }} - {{ log_path }} - Collective log writing using XMPP chat groups and LogBot. - {{ date }} - {% for x, post in db["messages"].items() %} - - {{ title }} - {{ log_path }}#{{ x }} - {{ post }} - LogBot - {{ post.date }} - - {% endfor %} - - \ No newline at end of file diff --git a/LogBot/logbot.py b/LogBot/logbot.py index 98485ae..571a906 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -143,7 +143,7 @@ class Logbot(Bot): ), # hard-coding the URL for now title=self.db[message.room]["title"], db=self.db[message.room], - date=date.strftime("%A, %d. %B %Y %I:%M%p"), + date=date.strftime("%a, %d %b %Y %H:%M:%S +0100") ) out.write(feed) self.log.info(f"writing to: { feed_path }")