[tz] Israel POSIX timezone string error on release 2017b?

André Domingos Brízido andre-d-brizido at alticelabs.com
Mon Aug 7 14:59:54 UTC 2017


Indeed I'm using another library: uClibc v.0.9.33.2 which is quite old and hasn't have any new release in a long time. 
Also according to the FAQs:

"The uClibc time functions get timezone information from the TZ environment variable, as described in the Single Unix Specification Version 3. See http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html for details on valid settings of TZ".

In other words, uClibc cannot handle the strings from version 3 tz files.

Thank you very much for your clarifications.

Best regards
Andre Brizido

-----Original Message-----
From: Paul Eggert [mailto:eggert at cs.ucla.edu] 
Sent: 5 de agosto de 2017 04:38
To: André Domingos Brízido; Time zone mailing list
Subject: Re: [tz] Israel POSIX timezone string error on release 2017b?

André Domingos Brízido wrote:
> According to the Linux manual 
> (http://man7.org/linux/man-pages/man5/tzfile.5.html)

That manual is out of date, and documents only up through tzdb version 2. You're looking at a version 3 file. I sent a bug report to mtk.manpages at gmail.com suggesting that they update their copy of the man page. Also, I spruced up the tzdb man page as described here:

http://mm.icann.org/pipermail/tz/2017-August/025207.html

This should make it easier for their project to simply copy the upstream file.

> My linux system does not display the correct timezone if I use the string 'IST-2IDT,M3.4.4/26,M10.5.0' as the contents of /etc/TZ.

That TZ setting works for me, if I set the TZ environment variable to it. I am using Fedora 26, which uses glibc 2.25. By mentioning "/etc/TZ" I suspect you are using some other C library. Which C library and version number is it? We can send its maintainers a bug report.


More information about the tz mailing list