details: https://code.tryton.org/tryton/commit/eb69b6d42d1b
branch: default
user: Eva Luadora <[email protected]>
date: Tue Aug 18 14:55:59 2026 +0000
description:
Display chat message timestamps in local timezone
Closes #15023
diffstat:
tryton/tryton/chat.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 6bbfb761723b -r eb69b6d42d1b tryton/tryton/chat.py
--- a/tryton/tryton/chat.py Tue Oct 20 16:52:20 2026 +0200
+++ b/tryton/tryton/chat.py Tue Aug 18 14:55:59 2026 +0000
@@ -362,7 +362,8 @@
hbox = Gtk.HBox(spacing=10)
row.add(hbox)
- timestamp = message['timestamp'].strftime('%x %X')
+ timestamp = common.timezoned_date(
+ message['timestamp']).strftime('%x %X')
if message.get('user'):
if avatar_url := message.get('avatar_url'):