GNOME Bugzilla – Bug 520212
handle multiple locations in the same timezone meaningfully
Last modified: 2008-04-07 17:49:56 UTC
Here is a patch that makes the clock remember the current location, instead of only the current timezone.
Created attachment 106522 [details] [review] patch
*** Bug 513123 has been marked as a duplicate of this bug. ***
The current implementation is also broken on FreeBSD, attached is a patch from Joe Marcus Clarke to use clock_location_guess_zone instead of zone_from_etc_sysconfig_clock. clock_location_guess_zone seems to be an abstration for /etc/sysconfig and zoneinfo scanning so this looks like what was intended here.
Created attachment 107849 [details] [review] FreeBSD patch
Pawel, please open another bug with this patch. This bug is about something completely different. Matthias, I've committed your patch. Note that you had already committed the clock.c part of the patch by accident. I made a slight change: we don't mark the location as the current one if it's marked as such in gconf when the system timezone is different from the location timezone. Else, it means logging in will change your timezone.