After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 656189 - log viewer splits entries between Today and Yesterday based on GMT, not local timezone
log viewer splits entries between Today and Yesterday based on GMT, not local...
Status: RESOLVED OBSOLETE
Product: empathy
Classification: Core
Component: Archives
unspecified
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
empathy-maint
: 666704 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-08-09 01:38 UTC by Danielle Madeley
Modified: 2018-05-22 14:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix for comment #1 (1.78 KB, patch)
2011-08-31 03:29 UTC, Danielle Madeley
committed Details | Review

Description Danielle Madeley 2011-08-09 01:38:40 UTC
A conversation had entirely 'today' (in Australia) has been split across 'Today' and 'Yesterday' in the log viewer. The wrap around happens when it was 2am in Berlin, which would be midnight GMT.
Comment 1 Danielle Madeley 2011-08-31 02:31:49 UTC
Actually, all my log times are in GMT.
Comment 2 Danielle Madeley 2011-08-31 03:29:38 UTC
Created attachment 195266 [details] [review]
fix for comment #1

This fixes comment #1, by using the correct constructor to create the GDateTime.

The original bug is annoyingly harder to fix, we're using the GDate from the filename to split files up, rather than the timestamp of an entry, so stuff can be placed in the wrong logical day.
Comment 3 Emilio Pozuelo Monfort 2011-08-31 08:01:43 UTC
Comment on attachment 195266 [details] [review]
fix for comment #1

++
Comment 4 Danielle Madeley 2011-09-01 01:02:08 UTC
Comment on attachment 195266 [details] [review]
fix for comment #1

Committed. Leaving this bug open for the original issue.
Comment 5 Danielle Madeley 2012-01-26 04:54:36 UTC
*** Bug 666704 has been marked as a duplicate of this bug. ***
Comment 6 GNOME Infrastructure Team 2018-05-22 14:57:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/empathy/issues/406.