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
...@@ -1032,8 +1032,7 @@ class GroupchatControl(ChatControlBase): ...@@ -1032,8 +1032,7 @@ class GroupchatControl(ChatControlBase):
'nick': event.nickname, 'subject': event.subject} 'nick': event.nickname, 'subject': event.subject}
if event.user_timestamp: if event.user_timestamp:
date = time.strftime('%d-%m-%Y %H:%M:%S', date = time.strftime('%c', time.localtime(event.user_timestamp))
text = '%s - %s' % (text, date) text = '%s - %s' % (text, date)
if (app.config.get('show_subject_on_join') or if (app.config.get('show_subject_on_join') or
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment