[Sugar-devel] [PATCH] revise timezone list, #2195
sascha-ml-reply-to-2011-2 at silbe.org
Tue Mar 22 18:47:53 EDT 2011
Excerpts from James Cameron's message of Mon Mar 21 04:09:27 +0100 2011:
> - remove GMT offsets as useless, since GMT tracks UTC and this is not
> expected to change,
> - fix #2195 by translating from ISO 8601 to POSIX.1 format, by
> reversing the sign,
> - increase UTC timezone coverage for Kiribati and Tonga.
Thanks for the patch! It's a good start, but unfortunately not enough.
POSIX defines TZ as "std offset dst offset, rule" , with std and dst
being the name of the _local_ time zone (for standard resp. daylight
savings time). Even after your patch Sugar always claims the local time
zone to be UTC which is clearly incorrect (for non-zero offsets).
In the long term I'd like to get rid of this Sugar-specific control
panel and recycle something from Gnome.
Short term an option might be to parse the /usr/share/zoneinfo/zone.tab
file. Probably too invasive for 0.92.x, though (but OLPC can cherry-pick
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 500 bytes
Desc: not available
More information about the Sugar-devel