[Patch] BZ#14080: Fix daylight time change for the US

Andreas Jaeger aj@suse.com
Tue May 8 20:49:00 GMT 2012


On 05/08/2012 10:44 PM, Roland McGrath wrote:
>> I found in 1003.1-2003 regarding tzset "If TZ is absent from the
>> environment, implementation-dependent default time zone information is
>> used. ". So, we could also use something completely different ;). I
>> guess nobody uses this, so let's stick with my patch.
>
> That is a different case, where we already use the table-driven
> /etc/localtime setting.  Here we are talking about a setting like
> "TZ=EST5EDT", where POSIX specifies the meaning of the three fields
> that were given and is (now) ambiguous about the omitted ones.

Indeed, that is ambigous. POSIX only says that the switch happens at 2am 
if the time is omitted but does not say anything at which time the 
change happens ;-(

Andreas
-- 
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Libc-alpha mailing list