[tz] Timezone for Moscow is -10800 after installing tzdata-2014g
apb at cequrux.com
Sat Oct 4 09:58:26 UTC 2014
On Fri, 03 Oct 2014, Paul Eggert wrote:
> When tzset is called, it does not know what time stamps you are
> interested in. It guesses, and its guess is based on time stamps
> that are farthest in the future.
So, after calling tzset(), the global timezone variable will
contain the UTC offset that would be in effect at some time in the
very distant future. Other global variables similarly refer to
what would be in effect in the distant future.
Perhaps it would be more useful for tzset() to set global
variables based on what would be appropriate for the instant when
tzset() is called. This would not detract from tzset()'s other
task of setting internal variables to refer to the rules for the
local time zone, for use by localtime(), mktime(), and other time
Are these global variables documented as deprecated?
--apb (Alan Barrett)
More information about the tz