Bug 317314

Summary: Log Viewer uses some different timezone
Product: [Unmaintained] telepathy Reporter: Daniele E. Domenichelli <ddomenichelli>
Component: log-viewerAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED UPSTREAM    
Severity: normal CC: dvratil
Priority: NOR    
Version: git-latest   
Target Milestone: 0.7-beta   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot showing the problem

Description Daniele E. Domenichelli 2013-03-25 08:06:00 UTC
Messages between midnight and 1am are displayed in the wrong day
Comment 1 Daniele E. Domenichelli 2013-03-25 08:06:35 UTC
Created attachment 78368 [details]
Screenshot showing the problem
Comment 2 Daniel Vrátil 2013-03-25 09:38:23 UTC
Hmm, this might be a little tricky. TpLogger works with timestamps, so when I query it for logs from 2013-03-25, I get messages created between 2013-03-25 00:00:00 UTC and 2013-03-25 23:59:59 UTC. When user is not in UTC timezone, I would have to query the previous and following day as well, convert the message timestamp to local timezone and check again.

I /think/ this should be fixed upstream. I'll see whether my glib-fu is still strong enough to write a patch for tplogger :-)
Comment 3 Daniel Vrátil 2013-03-25 12:57:42 UTC
Upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=62723