Commit 3de7d8f6 authored by Philipp Hörist's avatar Philipp Hörist

Groupchat: Show subject timestamp in preferred format

%c uses the preferred format on the current system
parent c703dcf3
Pipeline #4366 passed with stages
in 2 minutes and 49 seconds
......@@ -1032,8 +1032,7 @@ class GroupchatControl(ChatControlBase):
'nick': event.nickname, 'subject': event.subject}
if event.user_timestamp:
date = time.strftime('%d-%m-%Y %H:%M:%S',
time.localtime(event.user_timestamp))
date = time.strftime('%c', time.localtime(event.user_timestamp))
text = '%s - %s' % (text, date)
if (app.config.get('show_subject_on_join') or
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment