Bug 317314 - Log Viewer uses some different timezone
Summary: Log Viewer uses some different timezone
Status: RESOLVED UPSTREAM
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: log-viewer (show other bugs)
Version: git-latest
Platform: Other Linux
: NOR normal
Target Milestone: 0.7-beta
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-25 08:06 UTC by Daniele E. Domenichelli
Modified: 2013-04-11 14:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing the problem (536.69 KB, image/png)
2013-03-25 08:06 UTC, Daniele E. Domenichelli
Details

Note You need to log in before you can comment on or make changes to this bug.
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