details:   https://code.tryton.org/tryton/commit/a2b335a4672a
branch:    8.0
user:      Eva Luadora <[email protected]>
date:      Tue Aug 18 14:55:59 2026 +0000
description:
        Display chat message timestamps in local timezone

        Closes #15023
        (grafted from eb69b6d42d1bc7285fe86728d32dec01ad2e9b88)
diffstat:

 tryton/tryton/chat.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 4a39505e53aa -r a2b335a4672a tryton/tryton/chat.py
--- a/tryton/tryton/chat.py     Thu Oct 15 13:11:54 2026 +0000
+++ 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'):

Reply via email to