Philipp Hörist pushed to branch master at gajim / gajim


Commits:
3de7d8f6 by Philipp Hörist at 2019-10-10T19:11:03Z
Groupchat: Show subject timestamp in preferred format

%c uses the preferred format on the current system

- - - - -


1 changed file:

- gajim/groupchat_control.py


Changes:

=====================================
gajim/groupchat_control.py
=====================================
@@ -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



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/3de7d8f64134ac703ea31a9337169a1d1875d85a

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/3de7d8f64134ac703ea31a9337169a1d1875d85a
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to