diff --git a/webinterface.py b/webinterface.py index 743c05892..8d4eb8c9f 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5344,6 +5344,8 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool) -> str: """ htmlStr = '' for dateStr, item in newswire.items(): + dateStrLink = dateStr.replace(' ', 'T') + dateStrLink = dateStrLink.replace('+00:00', '') if 'vote:' + nickname in item[2]: htmlStr += '

' + \ '' + item[0] + '' @@ -5351,9 +5353,9 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool) -> str: htmlStr += \ ' ' + \ '' + \ + '/newswireunvote=' + dateStrLink + '">' + \ '

' + htmlStr += dateStr + '

' else: htmlStr += '

' @@ -5364,7 +5366,7 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool) -> str: htmlStr += \ ' ' + \ '' + \ + '/newswirevote=' + dateStrLink + '">' + \ '

' else: