This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

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 Jaeger aj@{,} 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]