Summary: | Log Viewer uses some different timezone | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Daniele E. Domenichelli <ddomenichelli> |
Component: | log-viewer | Assignee: | 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
Created attachment 78368 [details]
Screenshot showing the problem
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 :-) Upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=62723 |