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 631382 - GTimeZone support for zoneinfo version 1
GTimeZone support for zoneinfo version 1
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 644473 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-10-05 06:26 UTC by Allison Karlitskaya (desrt)
Modified: 2012-10-12 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds TZif Version 1 Support (4.21 KB, patch)
2012-09-24 17:59 UTC, John Ralls
committed Details | Review

Description Allison Karlitskaya (desrt) 2010-10-05 06:26:19 UTC
There are some still-supported systems in the wild that ship version 1 zoneinfo files.  GTimeZone will ignore anything that's not version 2.

We should fix that (*sigh*).
Comment 1 John Ralls 2012-09-24 17:59:24 UTC
Created attachment 225085 [details] [review]
Adds TZif Version 1 Support

Well, that's easy.

A bit harder is getting it to work in MSWin as well. We can only go halfway, because they put the timezone info in the registry somewhere and don't have API to retrieve arbitrary timezones, just the current local one.
Comment 2 John Ralls 2012-10-12 16:46:24 UTC
Comment on attachment 225085 [details] [review]
Adds TZif Version 1 Support

Pushed to master and glib-2-34
Comment 3 John Ralls 2012-10-12 16:49:26 UTC
*** Bug 644473 has been marked as a duplicate of this bug. ***