bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: localtime on native Windows


From: Paul Eggert
Subject: Re: localtime on native Windows
Date: Mon, 12 Feb 2024 18:02:15 -0800
User-agent: Mozilla Thunderbird

On 2024-02-11 04:46, Bruno Haible wrote:
The first question is how to include tzdata in gnulib.
   - AFAICS, the main data file (without comments) is tzdata.zi and is about
     100 KB large. It can be upgraded simply by copying the newest tzdata.zi
     from a newer tzdata distribution. Including such a file in gnulib would
     be OK (re copyright, number of files, total size), right?

No problem with copyright; the file is in the public domain.

  - Whereas including all files from /usr/share/zoneinfo is probably not
    acceptable (> 1300 files, ca. 6 MB total size).

That can be automatically generated from tzdata.zi, by using zic, the source code of which is also in the public domain. This is common in GNU/Linux systems. If memory serves Android uses another approach: a single binary file indexed by timezone name.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]