[tz] zic changes (2/2)

Guy Harris guy at alum.mit.edu
Thu Mar 3 00:59:32 UTC 2016

On Mar 2, 2016, at 2:41 PM, Aurelien Jarno <aurelien at aurel32.net> wrote:

> It happens that this patch causes the generated zoneinfo files to not
> behave correctly wrt daylight saving time on 32-bit machines. On 64-bit
> machines or before this patch one get:
>  $ TZ=PST+8PDT date --date=@1152995400
>  Sat Jul 15 13:30:00 PDT 2006
> With this patch on 32-bit machines, one get:
>  $ TZ=PST+8PDT date --date=@1152995400
>  Sat Jul 15 12:30:00 PST 2006
> As you can see the daylight saving time is not applied.

What happens with TZ=PST8PDT?

> I don't know if it is a problem in zic or a problem on the GNU libc
> which doesn't correctly interpret the file. This is reproducible with
> GNU libc from git as the date of today.

What happens if you remove the PST8PDT link to America/Los_Angeles and use "TZ=PST8PDT"?

What happens if you remove a link for some zone east of Greenwich and try *that* zone's POSIX specification?

More information about the tz mailing list