diff --git a/webinterface.py b/webinterface.py
index da9dc37e..9e34d999 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -5513,7 +5513,10 @@ 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")
- dateStrLink = publishedDate.strftime("%Y-%m-%d")
+ dateShown = publishedDate.strftime("%Y-%m-%d")
+
+ dateStrLink = dateStr.replace('T', ' ')
+ dateStrLink = dateStrLink.replace('Z', '')
moderatedItem = item[5]
if moderatedItem and 'vote:' + nickname in item[2]:
totalVotesStr = ''
@@ -5529,8 +5532,7 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
'' + totalVotesStr
if moderator:
htmlStr += \
- ' ' + dateStr.replace('+00:00', '') + \
- ''
htmlStr += '' + \
'' + \
item[0] + '' + totalVotesStr
- htmlStr += ' ' + dateStr.replace('+00:00', '')
+ htmlStr += ' ' + dateShown
htmlStr += ''