[Datetime-SIG] IANA TZ database statistics

Akira Li 4kir4.1i at gmail.com
Fri Sep 25 01:51:55 CEST 2015


Alexander Belopolsky <alexander.belopolsky at gmail.com> writes:

> On Thu, Sep 24, 2015 at 2:42 PM, Random832 <random832 at fastmail.com> wrote:
>
>> I still don't see the logic in doing any of this rather than parsing
>> zoneinfo files directly on systems that use it;
>>
>
> There is no portable way to even discover the location of the zoneinfo
> files.  (The default location when installing from the source is the
> incredible /usr/local/etc/zoneinfo! )  If some location is guessed by
> searching some likely candidates, there is no guarantee that this is what
> system tzset() is using.

tzlocal module by Lennart Regebro might be good enough in practice
  https://github.com/regebro/tzlocal


More information about the Datetime-SIG mailing list