[tz] Hour 26? (was: Chaning time zone for Unix based tasks)

Paul Gilmartin PaulGBoulder at AIM.com
Tue Dec 31 21:05:03 UTC 2019


(cross-posting to tz and IBM-MAIN)
Hi, TZData,

On a Linux system, I see:
1043 $ uname -a
Linux Bunsen5-PG 4.9.0-11-686-pae #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) i686 GNU/Linux
1044 $ cat /usr/share/zoneinfo/Asia/Tel_Aviv   | tail -1
IST-2IDT,M3.4.4/26,M10.5.0
1045 $ 

... This would seem to be Month 3, Week 4, Day 4, hour 26.
26?  Is that supposed to be 02:00 the next day?

But POSIX says:
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08
... The hour shall be between zero and 24, and the minutes (and seconds)
-if present-between zero and 59. The result of using values outside 
of this range is unspecified.

z/OS (which supports only POSIX format) seems to ignore that TZ
(as allowed by "unspecified") and use UTC0:
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxa500/bpxa50065.htm
(It doesn't specify.)

Ouch!
-- gil



More information about the tz mailing list