11localtime.c is a stripped-down version of that from tzcode (from
2- http://www.iana.org/time-zones), converted to use a 64-bit time_t and
3- tm_zone/tm_offset on all platforms. Apart from removing unused code
4- and merging in the parts of private.h which are needed, the other main
5- changes are
2+ http://www.iana.org/time-zones in 2007 ), converted to use a 64-bit
3+ time_t and tm_zone/tm_offset on all platforms. Apart from removing
4+ unused code and merging in the parts of private.h which are needed,
5+ the other main changes are
66
77- to use environment variable TZDIR to point to the zoneinfo files, and
88 failing that, R_HOME/share/zoneinfo.
@@ -25,18 +25,11 @@ R's implemntation (by default), where time_t is int_fast64_t, hence signed.)
2525To remake it, download the current version of tzdataXXXXx.tar.gz from
2626https://www.iana.org/time-zones to this directory and run
2727
28- make -f Make.zi VERSION=2025b
28+ make -f Make.zi VERSION=2025c
2929
3030for the appropriate version. If zic is not on the path, use something like
3131
32- make -f Make.zi VERSION=2025b ZIC=/usr/sbin/zic
33-
34- NB: it seems that this needs to be done on a system with 64-bit time_t
35- or the catalogs will be confined to 1902-2038. (Even that did not
36- suffice on earlier versions of macOS.) As a sanity check, the size of
37- zoneinfo.zip should be about 410KB if 64-bit: a 32-bit version will be
38- about 280KB. In 2021 it was possible to use macOS, whose zic gave
39- many warnings and created a ca 475KB file.
32+ make -f Make.zi VERSION=2025c ZIC=/usr/sbin/zic
4033
4134Note that we include 'backward': vendor versions might not, or might
4235use 'backzone'.
0 commit comments