From: kaliko Date: Sat, 24 Oct 2020 17:57:11 +0000 (+0200) Subject: feeds: Better date formating, explicit timezone X-Git-Tag: 0.2.0~2 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=aedd6aa01b9f279a4ae5b10b31b66900ce84c07b;p=sid.git feeds: Better date formating, explicit timezone --- 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:])