From aedd6aa01b9f279a4ae5b10b31b66900ce84c07b Mon Sep 17 00:00:00 2001 From: kaliko Date: Sat, 24 Oct 2020 19:57:11 +0200 Subject: [PATCH] feeds: Better date formating, explicit timezone --- sid/feeds.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sid/feeds.py b/sid/feeds.py index 490d89d..1d6ed78 100644 --- a/sid/feeds.py +++ b/sid/feeds.py @@ -174,7 +174,8 @@ class Feeds(Plugin): * ``!feeds`` : registred feeds list * ``!feeds last`` : last check time""" if 'last' in args: - self.reply(rcv, 'Last feeds check: %s' % self.th_mon.last_check) + date = '{:%Y-%m-%d %H:%M} (utc)'.format(self.th_mon.last_check) + self.reply(rcv, f'Last feeds check: {date}') return html = ['{1}'.format(html_escape(u), html_escape(u[7:]) -- 2.39.5