diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-07-17 18:26:23 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-07-17 18:26:23 -0400 |
commit | 59cea8f36be725533a0f94607f498b7628aa4b9d (patch) | |
tree | 2738a70a26c3aedb32bad3012165c24727dc0345 /src/timezone/tzfile.h | |
parent | e0d13dc6fd71cc647af8aaa82179f1b878f41437 (diff) |
Sync our copy of the timezone library with IANA release tzcode2019b.
A large fraction of this diff is just due to upstream's somewhat
random decision to rename a bunch of internal variables and struct
fields. However, there is an interesting new feature in zic:
it's grown a "-b slim" option that emits zone files without 32-bit
data and other backwards-compatibility hacks. We should consider
whether we wish to enable that.
Diffstat (limited to 'src/timezone/tzfile.h')
-rw-r--r-- | src/timezone/tzfile.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/timezone/tzfile.h b/src/timezone/tzfile.h index 562259b937e..8f3eb6bd3f2 100644 --- a/src/timezone/tzfile.h +++ b/src/timezone/tzfile.h @@ -41,7 +41,7 @@ struct tzhead char tzh_magic[4]; /* TZ_MAGIC */ char tzh_version[1]; /* '\0' or '2' or '3' as of 2013 */ char tzh_reserved[15]; /* reserved; must be zero */ - char tzh_ttisgmtcnt[4]; /* coded number of trans. time flags */ + char tzh_ttisutcnt[4]; /* coded number of trans. time flags */ char tzh_ttisstdcnt[4]; /* coded number of trans. time flags */ char tzh_leapcnt[4]; /* coded number of leap seconds */ char tzh_timecnt[4]; /* coded number of transition times */ @@ -64,14 +64,15 @@ struct tzhead * one (char [4]) total correction after above * tzh_ttisstdcnt (char)s indexed by type; if 1, transition * time is standard time, if 0, - * transition time is wall clock time - * if absent, transition times are - * assumed to be wall clock time - * tzh_ttisgmtcnt (char)s indexed by type; if 1, transition - * time is UT, if 0, - * transition time is local time - * if absent, transition times are + * transition time is local (wall clock) + * time; if absent, transition times are * assumed to be local time + * tzh_ttisutcnt (char)s indexed by type; if 1, transition + * time is UT, if 0, transition time is + * local time; if absent, transition + * times are assumed to be local time. + * When this is 1, the corresponding + * std/wall indicator must also be 1. */ /* |