From e715072886c8d044ad80e5aa35c95f9fb6cbc95b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 16 Oct 2020 10:27:02 +0100 Subject: [PATCH] Show publication time on newswire --- webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index 5891dda38..3b00a06fa 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5597,7 +5597,7 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool, for dateStr, item in newswire.items(): publishedDate = \ datetime.strptime(dateStr, "%Y-%m-%d %H:%M:%S+00:00") - dateShown = publishedDate.strftime("%Y-%m-%d") + dateShown = publishedDate.strftime("%Y-%m-%d %H:%M") dateStrLink = dateStr.replace('T', ' ') dateStrLink = dateStrLink.replace('Z', '')