RFC 9636: The Time Zone Information Format (TZif)
- A. Olson,
- P. Eggert,
- K. Murchison
Abstract
This document specifies the Time Zone Information Format (TZif) for representing and exchanging time zone information, independent of any particular service or protocol. Two media types for this format are also defined.¶
This document replaces and obsoletes RFC 8536.¶
Status of This Memo
This is an Internet Standards Track document.¶
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.¶
Information about the current status of this document, any
errata, and how to provide feedback on it may be obtained at
https://
Copyright Notice
Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://
1. Introduction
Time zone data typically consists of offsets from universal time (UT), daylight saving transition rules, one or more local time designations (acronyms or abbreviations), and optional leap-second adjustments. One such format for conveying this information is iCalendar [RFC5545]. It is a text-based format used by calendaring and scheduling systems.¶
This document specifies the widely deployed Time Zone
Information Format (TZif).
It is a binary format used by most UNIX systems to calculate
local time.
This format was introduced in the 1980s and has evolved since
then into multiple upward
This specification does not define the source of the data assembled into a TZif file. One such source is the IANA-hosted time zone database [RFC6557].¶
This document obsoletes [RFC8536], providing editorial improvements, new details, and errata fixes while keeping full compatibility with the interchange format of [RFC8536]. Additionally, a new version of the format is defined. The changes from [RFC8536] are summarized in Appendix C.¶
2. Conventions Used in This Document
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
The following terms are used in this document (see "Time zone and daylight saving time data" [tz-link] for more detailed information about civil timekeeping data and practice):¶
- Coordinated Universal Time (UTC):
- The basis for civil time since 1960. It is approximately equal to mean solar time at the prime meridian (0 degrees longitude).¶
- Daylight Saving Time (DST):
- The time according to a location's law or practice, when adjusted as necessary from standard time. The adjustment may be positive or negative, and the amount of adjustment may vary depending on the date and time; the TZif format even allows the adjustment to be zero, although this is not common practice.¶
- International Atomic Time (TAI):
- The time standard based on atomic clocks since 1972. It is equal to UTC but without leap-second adjustments.¶
- Leap Second:
- A one-second adjustment to keep UTC close to mean solar time at the prime meridian (see [ITU-R-TF.460]). Each inserted or deleted leap second occurs at the end of a UTC month, that is, a month using the Gregorian calendar and the UTC timescale.¶
- Leap-Second Correction (LEAPCORR):
- The value of "TAI - UTC - 10" for timestamps after the first leap second, and zero for timestamps before that. The expression "TAI - UTC - 10" comes from the fact that TAI - UTC was defined to be 10 just prior to the first leap second in 1972, so clocks with leap seconds have a zero LEAPCORR before the first leap second.¶
- Local Time:
- Civil time for a particular location. Its offset from universal time can depend on the date and time of day.¶
- POSIX Epoch:
- 1970-01-01 00:00:00 UTC, the basis for absolute timestamps in this document.¶
- Standard Time:
- The time according to a location's law or practice, unadjusted for daylight saving time.¶
- Time Change:
-
A change to civil timekeeping practice. It occurs when one or more of the following happen simultaneously:¶
- Time Zone Data:
- The Time Zone Data Distribution Service (TZDIST) [RFC7808] defines "Time zone data" as "data that defines a single time zone, including an identifier, UTC offset values, DST rules, and other information such as time zone abbreviations". The interchange format defined in this document is one such form of time zone data.¶
- Transition Time:
- The moment of occurrence of a time change that is not a leap second. It is identified with a signed integer count of UNIX leap time seconds since the POSIX epoch.¶
- Universal Time (UT):
- The basis of civil time. This is the principal form of the mean solar time at the prime meridian (0 degrees longitude) for timestamps before UTC was introduced in 1960 and is UTC for timestamps thereafter. Although UT is sometimes called "UTC" or "GMT" in other sources, this specification uses the term "UT" to avoid confusion with UTC or with GMT.¶
- UNIX Time:
- The time as returned by the time() function provided by the C programming language (see Section 3 of the "System Interfaces" volume of [POSIX]). This is an integer number of seconds since the POSIX epoch, not counting leap seconds. As an extension to POSIX, negative values represent times before the POSIX epoch, using UT.¶
- UNIX Leap Time:
- UNIX time plus all preceding leap-second corrections. For example, if the first leap-second record in a TZif file occurs at 1972-06-30 23:59:60 UTC, the UNIX leap time for the timestamp 1972-07-01 00:00:00 UTC would be 78796801, one greater than the UNIX time for the same timestamp. Similarly, if the second leap-second record occurs at 1972-12-31 23:59:60 UTC, it accounts for the first leap second, so the UNIX leap time of 1972-12-31 23:59:60 UTC would be 94694401, and the UNIX leap time of 1973-01-01 00:00:00 UTC would be 94694402. If a TZif file specifies no leap-second records, UNIX leap time is equal to UNIX time.¶
- Wall Time:
- Another name for local time; short for "wall-clock time".¶
3. The Time Zone Information Format (TZif)
The Time Zone Information Format begins with a fixed 44-octet version 1 header (Section 3.1) containing a field that specifies the version of the file's format. Readers designed for version N can read version N+1 files without too much trouble; data specific to version N+1 either appears after version N data so that earlier version readers can easily ignore later version data they are not designed for, or it appears as a minor extension to version N that version N readers are likely to tolerate well.¶
The version 1 header is followed by a variable-length
version 1 data block (Section 3.2)
containing four-octet (32-bit) transition times and leap-second
occurrences. These 32-bit values are limited to representing
time changes from 1901-12-13 20:45:52 through 2038-01-19 03:14:07 UT,
and the version 1 header and data block are present only for backward
compatibility with obsolescent readers, as discussed in
"Common Interoperabilit
Version 1 files terminate after the version 1 data block. Files from versions 2 and higher extend the format by appending a second 44-octet version 2+ header, a variable-length version 2+ data block containing eight-octet (64-bit) transition times and leap-second occurrences, and a variable-length footer (Section 3.3). These 64-bit values can represent times approximately 292 billion years into the past or future.¶
NOTE: All multi-octet integer values MUST be stored in network octet order format (high-order octet first, otherwise known as big-endian), with all bits significant. Signed integer values MUST be represented using two's complement.¶
A TZif file is structured as follows:¶
3.1. TZif Header
A TZif header is structured as follows (the lengths of multi-octet fields are shown in parentheses):¶
The fields of the header are defined as follows:¶
- magic:
- The four-octet ASCII [RFC20] sequence "TZif" (0x54 0x5A 0x69 0x66), which identifies the file as utilizing the Time Zone Information Format.¶
- ver(sion):
-
An octet identifying the version of the file's format. The value MUST be one of the following:¶
- isutcnt:
- A four-octet unsigned integer specifying the number of UT/local indicators contained in the data block -- MUST either be zero or equal to "typecnt".¶
- isstdcnt:
- A four-octet unsigned integer specifying the number of standard/wall indicators contained in the data block -- MUST either be zero or equal to "typecnt".¶
- leapcnt:
- A four-octet unsigned integer specifying the number of leap-second records contained in the data block.¶
- timecnt:
- A four-octet unsigned integer specifying the number of transition times contained in the data block.¶
- typecnt:
- A four-octet unsigned integer specifying the number of local time type records contained in the data block -- MUST NOT be zero. (Although local time type records convey no useful information in files that have non-empty TZ strings but no transitions, at least one such record is nevertheless required because many TZif readers reject files that have zero time types.)¶
- charcnt:
- A four-octet unsigned integer specifying the total number of octets used by the set of time zone designations contained in the data block -- MUST NOT be zero. The count includes the trailing NUL (0x00) octet at the end of the last time zone designation.¶
Although the version 1 and 2+ headers have the same format, magic number, and version fields, their count fields may differ, because the version 1 data can be a subset of the version 2+ data.¶
3.2. TZif Data Block
A TZif data block consists of seven variable-length elements, each of which is a series of items. The number of items in each series is determined by the corresponding count field in the header. The total length of each element is calculated by multiplying the number of items by the size of each item. Therefore, implementations that do not wish to parse or use the version 1 data block can calculate its total length and skip directly to the header of the version 2+ data block.¶
In the version 1 data block, time values are 32 bits (TIME_SIZE = 4 octets). In the version 2+ data block, present only in version 2 and higher files, time values are 64 bits (TIME_SIZE = 8 octets).¶
The data block is structured as follows (the lengths of multi-octet fields are shown in parentheses):¶
The elements of the data block are defined as follows:¶
- transition times:
- A series of four- or eight-octet UNIX leap time values sorted in strictly ascending order. Each value is used as a transition time at which the rules for computing local time may change. The number of time values is specified by the "timecnt" field in the header. Each time value SHOULD be at least -259. (-259 is the greatest negated power of 2 that predates the Big Bang, and avoiding earlier timestamps works around known TZif reader bugs relating to outlandishly negative timestamps.)¶
- transition types:
- A series of one-octet unsigned integers specifying the type of local time of the corresponding transition time. These values serve as zero-based indices into the array of local time type records. The number of type indices is specified by the "timecnt" field in the header. Each type index MUST be in the range [0, "typecnt" - 1].¶
- local time type records:
-
A series of six-octet records specifying a local time type. The number of records is specified by the "typecnt" field in the header. Each record has the following format (the lengths of multi-octet fields are shown in parentheses):¶
- utoff:
- A four-octet signed integer specifying the number of seconds to be added to UT in order to determine local time. The value MUST NOT be -231 and SHOULD be in the range [-89999, 93599] (i.e., its value SHOULD be more than -25 hours and less than 26 hours). Avoiding -231 allows 32-bit clients to negate the value without overflow. Restricting it to [-89999, 93599] allows easy support by implementations that already support the POSIX-required range [-24:59:59, 25:59:59].¶
- (is)dst:
- A one-octet value indicating whether local time should be considered Daylight Saving Time (DST). The value MUST be 0 or 1. A value of one (1) indicates that this type of time is DST. A value of zero (0) indicates that this time type is standard time.¶
- (desig)idx:
- A one-octet unsigned integer specifying a zero-based index into the series of time zone designation octets, thereby selecting a particular designation string. Each index MUST be in the range [0, "charcnt" - 1]; it designates the NUL‑terminated string of octets starting at position "idx" in the time zone designations. (This string MAY be empty.) A NUL octet MUST exist in the time zone designations at or after position "idx". If the designation string is "-00", the time type is a placeholder indicating that local time is unspecified.¶
- time zone designations:
- A series of octets constituting an array of NUL‑terminated (0x00) time zone designation strings. The total number of octets is specified by the "charcnt" field in the header. Two designations MAY overlap if one is a suffix of the other. The character encoding of time zone designation strings is not specified; however, see Section 4 of this document.¶
- leap-second records:
-
A series of eight- or twelve-octet records specifying the corrections that need to be applied to UTC in order to determine TAI, also known as the leap-second table. The records are sorted by the occurrence time in strictly ascending order. The number of records is specified by the "leapcnt" field in the header. Each record has one of the following structures (the lengths of multi-octet fields are shown in parentheses):¶
- Version 1 Data Block:
- version 2+ Data Block:
- occur(rence):
- A four- or eight-octet UNIX leap time value specifying the time at which a leap-second correction occurs or at which the leap-second table expires. The first value, if present, MUST be non-negative, and each leap second MUST occur at the end of a UTC month.¶
- corr(ection):
-
A four-octet signed integer specifying the value of LEAPCORR on or after the occurrence. If "leapcnt" is zero, LEAPCORR is zero for all timestamps. If "leapcnt" is nonzero, for timestamps before the first occurrence time, LEAPCORR is zero if the first correction is one (1) or minus one (-1) and is unspecified otherwise (which can happen only in files truncated at the start (Section 6.1)).¶
The first leap second is a positive leap second if and only if its correction is positive. Each correction after the first MUST differ from the previous correction by either one (1) for a positive leap second or minus one (-1) for a negative leap second, except that in version 4 files with two or more leap-second records, the correction value of the last two records MAY be the same, with the occurrence of last record indicating the expiration time of the leap-second table.¶
The leap-second table expiration time is the time at which the table no longer records the presence or absence of future leap-second corrections, and post-expiration timestamps cannot be accurately calculated. For example, a leap-second table published in January, which predicts the presence or absence of a leap second at June's end, might expire in mid-December because it is not known when the next leap second will occur.¶
If leap seconds become permanently discontinued, as requested by the General Conference on Weights and Measures [CGPM-2022-R4], leap-second tables published after the discontinuation time SHOULD NOT expire, since they will not be updated in the foreseeable future.¶
- standard/wall indicators:
-
A series of one-octet values indicating whether the transition times associated with local time types were specified as standard time or wall-clock time. Each value MUST be 0 or 1. A value of one (1) indicates standard time. The value MUST be set to one (1) if the corresponding UT/local indicator is set to one (1). A value of zero (0) indicates wall time. The number of values is specified by the "isstdcnt" field in the header. If "isstdcnt" is zero (0), all transition times associated with local time types are assumed to be specified as wall time.¶
- UT/local indicators:
-
A series of one-octet values indicating whether the transition times associated with local time types were specified as UT or local time. Each value MUST be 0 or 1. A value of one (1) indicates UT, and the corresponding standard/wall indicator MUST also be set to one (1). A value of zero (0) indicates local time. The number of values is specified by the "isutcnt" field in the header. If "isutcnt" is zero (0), all transition times associated with local time types are assumed to be specified as local time.¶
The type corresponding to a transition time specifies local time for timestamps starting at the given transition time and continuing up to, but not including, the next transition time. Local time for timestamps before the first transition is specified by the first time type (time type 0). Local time for timestamps on or after the last transition is specified by the TZ string in the footer (Section 3.3) if present and non-empty; otherwise, it is unspecified. If there are no transitions, local time for all timestamps is specified by the TZ string in the footer if present and non-empty; otherwise, it is specified by time type 0. A time type with a designation string of "-00" represents an unspecified local time.¶
A given pair of standard/wall and UT/local indicators is used to designate whether the corresponding transition time was specified as UT, standard time, or wall-clock time. There are only three combinations of the two indicators, given that the standard/wall value MUST be one (1) if the UT/local value is one (1). This information can be useful if the transition times in a TZif file need to be transformed into transitions appropriate for another time zone (e.g., when calculating transition times for a simple POSIX-like TZ string such as "AKST9AKDT").¶
In order to eliminate unused space in a TZif file, every nonzero local time type index SHOULD appear at least once in the transition type array. Likewise, every octet in the time zone designations array SHOULD be used by at least one time type record.¶
4. Interoperability Considerations
The following practices help ensure the interoperabilit
5. Internationalization Considerations
TZif time zone designations contain only ASCII alphanumerics, "-",
and "+". Commonly used designations include numeric strings like "-10"
and "+0530" for UT offsets and English language abbreviations like
"CEST" for Central European Summer Time and "GMT" for Greenwich Mean
Time. It is the TZif reader's responsibility to substitute different
abbreviations when needed for internationaliz
Although the original TZif design allowed for any nonzero octets in time zone designations, and it was common practice until the mid-1990s for designations to contain ASCII spaces, designations are now limited to ASCII alphanumerics, "-", and "+" to avoid confusion and to encourage portability to a wide variety of locales.¶
6. Use with the Time Zone Data Distribution Service
The Time Zone Data Distribution Service (TZDIST) [RFC7808] is a service that allows reliable, secure, and fast delivery of time zone data and leap-second rules to client systems such as calendaring and scheduling applications or operating systems.¶
A TZDIST service MAY supply time zone data to clients in
the Time Zone Information Format. Such a service MUST indicate
that it supports this format by including the media type
"application
TZDIST clients MUST use the HTTP "Accept"
header field ([RFC9110], Section 12.5.1) to indicate their preference to receive data in the
"application
6.1. Truncating TZif Files
As described in Section 3.9 of [RFC7808], a TZDIST service MAY truncate time zone transition data. A truncated TZif file is valid from its first and up to, but not including, its last version 2+ transition time, if present.¶
When truncating the start of a TZif file, the service MUST supply in the version 2+ data a first transition time that is the start point of the truncation range. As with untruncated TZif files, time type 0 indicates local time immediately before the start point, and the time type of the first transition indicates local time thereafter. Time type 0 MUST be a placeholder indicating that local time is unspecified, so that the reader is unambiguously informed of truncation at the start.¶
When truncating the start of a TZif file containing leap-second records, the service MUST keep all leap-second records governing timestamps within the truncation range, even if the first such record precedes the start point of the truncation range. If the truncated leap-second table is non-empty, its first record MUST have a positive correction if and only if it represents a positive leap second.¶
When truncating the end of a TZif file, the service MUST supply in the version 2+ data a last transition time that is the end point of the truncation range and MUST supply an empty TZ string. As with untruncated TZif files with empty TZ strings, a truncated TZif file does not indicate local time after the last transition. To this end, the time type of the last transition MUST be a placeholder indicating that local time is unspecified.¶
All represented information that falls inside the truncation range MUST be the same as that represented by a corresponding untruncated TZif file.¶
TZDIST clients SHOULD NOT use a truncated TZif file (as described above) to interpret timestamps outside the truncation time range.¶
6.2. Example TZDIST Request for TZif Data
In this example, the client checks the server for the available formats and then requests that the time zone with a specific time zone identifier be returned in Time Zone Information Format.¶
This example presumes that the time zone context path has been discovered (see [RFC7808], Section 4.2.1) to be "/tzdist".¶
7. Security Considerations
The Time Zone Information Format contains no executable code, and it does not define any extensible areas that could be used to store such code.¶
TZif contains counted arrays of data elements. All counts should be checked when processing TZif objects, to guard against references past the end of the object.¶
TZif provides no confidentiality or integrity protection. Time zone information is normally public and does not call for confidentiality protection. Since time zone information is used in many critical applications, integrity protection may be required and must be provided externally.¶
As discussed in Section 8 of [RFC7808], transmission of time zone data over an insecure communication channel could result in tampered data, harming calendaring and scheduling operations. As such, TZif data transmitted over a public communications channel MUST be protected with a security layer such as that provided by Transport Layer Security (TLS) [RFC8446].¶
8. Privacy Considerations
The Time Zone Information Format contains publicly available data, and it does not define any extensible areas that could be used to store private data.¶
As discussed in Section 9 of [RFC7808], transmission of time zone data over an insecure communications channel could leak the past, current, or future location of a device or user. As such, TZif data transmitted over a public communications channel MUST be protected with a confidentiality layer such as that provided by Transport Layer Security (TLS) [RFC8446].¶
9. IANA Considerations
IANA has updated the "Media Types" registry as follows.¶
This document defines two media types [RFC6838] for the exchange of data utilizing the Time Zone Information Format.¶
9.1. application/tzif
- Type name:
- application¶
- Subtype name:
- tzif¶
- Required parameters:
- N/A¶
- Optional parameters:
- N/A¶
- Encoding considerations:
- binary¶
- Security considerations:
- See Section 7 of RFC 9636.¶
- Interoperability considerations:
- See Section 4 of RFC 9636.¶
- Published specification:
- RFC 9636.¶
- Applications that use this media type:
- This media type is designed for widespread use by applications that need to use or exchange time zone information relative to UNIX time, such as the Time Zone Information Compiler (zic) [ZIC] and the GNU C Library [GNU-C]. The Time Zone Distribution Service [RFC7808] can directly use this media type.¶
- Fragment identifier considerations:
- N/A¶
- Additional information:
-
- Person & email address to contact for further information:
- Time Zone Database mailing list <tz@iana.org>¶
- Intended usage:
- COMMON¶
- Restrictions on usage:
- N/A¶
- Author:
- See the "Authors' Addresses" section of RFC 9636.¶
- Change controller:
- IETF¶
9.2. application/tzif-leap
- Type name:
- application¶
- Subtype name:
- tzif-leap¶
- Required parameters:
- none¶
- Optional parameters:
- none¶
- Encoding considerations:
- binary¶
- Security considerations:
- See Section 7 of RFC 9636.¶
- Interoperability considerations:
- See Section 4 of RFC 9636.¶
- Published specification:
- RFC 9636.¶
- Applications that use this media type:
- This media type is designed for widespread use by applications that need to use or exchange time zone information relative to UNIX leap time, such as the Time Zone Information Compiler (zic) [ZIC] and the GNU C Library [GNU-C]. The Time Zone Distribution Service [RFC7808] can directly use this media type.¶
- Fragment identifier considerations:
- N/A¶
- Additional information:
-
- Person & email address to contact for further information:
- Time Zone Database mailing list <tz@iana.org>¶
- Intended usage:
- COMMON¶
- Restrictions on usage:
- N/A¶
- Author:
- See the "Authors' Addresses" section of RFC 9636.¶
- Change controller:
- IETF¶
10. References
10.1. Normative References
- [GNU-C]
-
Free Software Foundation, "The GNU C Library", <https://
www >..gnu .org /software /libc / - [ITU-R-TF.460]
-
International Telecommunicati
on , "StandardUnion -frequency , ITU-R Recommendation TF.460, , <https://and time-signal emissions" www >..itu .int /rec /R -REC -TF .460 /en - [POSIX]
-
IEEE, "IEEE Standard for Information Technology
--Portable , POSIX.1-2017, IEEE Std 1003.1-2017, DOI 10Operating System Interface (POSIX(TM)) Base Specifications, Issue 7" .1109 , , <https:///IEEESTD .2018 .8277153 pubs >..opengroup .org /onlinepubs /9699919799 / - [RFC20]
-
Cerf, V., "ASCII format for network interchange", STD 80, RFC 20, DOI 10
.17487 , , <https:///RFC0020 www >..rfc -editor .org /info /rfc20 - [RFC2119]
-
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10
.17487 , , <https:///RFC2119 www >..rfc -editor .org /info /rfc2119 - [RFC6838]
-
Freed, N., Klensin, J., and T. Hansen, "Media Type Specifications and Registration Procedures", BCP 13, RFC 6838, DOI 10
.17487 , , <https:///RFC6838 www >..rfc -editor .org /info /rfc6838 - [RFC7808]
-
Douglass, M. and C. Daboo, "Time Zone Data Distribution Service", RFC 7808, DOI 10
.17487 , , <https:///RFC7808 www >..rfc -editor .org /info /rfc7808 - [RFC8174]
-
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10
.17487 , , <https:///RFC8174 www >..rfc -editor .org /info /rfc8174 - [RFC9110]
-
Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Semantics", STD 97, RFC 9110, DOI 10
.17487 , , <https:///RFC9110 www >..rfc -editor .org /info /rfc9110 - [ZIC]
-
Kerrisk, M., "zic(8) - Linux manual page", <http://
man7 >..org /linux /man -pages /man8 /zic .8 .html
10.2. Informative References
- [CGPM-2022-R4]
-
General Conference on Weights and Measures, "Resolution 4 of the 27th CGPM (2022)", DOI 10
.59161 , , <https:///CGPM2022RES4E www >..bipm .org /en /cgpm -2022 /resolution -4 - [CLDR]
-
Unicode, Inc., "Unicode CLDR Project", <https://
cldr >..unicode .org / - [EGGERT-TZ]
-
"History for tz", commit b5318b5, , <https://
github >..com /eggert /tz /commits /main /tzfile .5 - [Err6426]
-
RFC Errata, "Erratum ID 6426", RFC 8536, <https://
www >..rfc -editor .org /errata /eid6426 - [Err6435]
-
RFC Errata, "Erratum ID 6435", RFC 8536, <https://
www >..rfc -editor .org /errata /eid6435 - [Err6757]
-
RFC Errata, "Erratum ID 6757", RFC 8536, <https://
www >..rfc -editor .org /errata /eid6757 - [Err7681]
-
RFC Errata, "Erratum ID 7681", RFC 8536, <https://
www >..rfc -editor .org /errata /eid7681 - [RFC5545]
-
Desruisseaux, B., Ed., "Internet Calendaring and Scheduling Core Object Specification (iCalendar)", RFC 5545, DOI 10
.17487 , , <https:///RFC5545 www >..rfc -editor .org /info /rfc5545 - [RFC6557]
-
Lear, E. and P. Eggert, "Procedures for Maintaining the Time Zone Database", BCP 175, RFC 6557, DOI 10
.17487 , , <https:///RFC6557 www >..rfc -editor .org /info /rfc6557 - [RFC8446]
-
Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 8446, DOI 10
.17487 , , <https:///RFC8446 www >..rfc -editor .org /info /rfc8446 - [RFC8536]
-
Olson, A., Eggert, P., and K. Murchison, "The Time Zone Information Format (TZif)", RFC 8536, DOI 10
.17487 , , <https:///RFC8536 www >..rfc -editor .org /info /rfc8536 - [tz-link]
-
Eggert, P. and A. Olson, "Time zone and daylight saving time data", <https://
www >..iana .org /time -zones /repository /tz -link .html
Appendix A. Common Interoperability Issues
This section documents common problems in implementing this specification. Most of these are problems in generating TZif files for use by readers conforming to predecessors of this specification [EGGERT-TZ]. The goals of this section are to help:¶
When new versions of the TZif format have been defined, a design goal has been that a reader can successfully use a TZif file even if the file is of a later TZif version than what the reader was designed for. When complete compatibility was not achieved, an attempt was made to limit glitches to rarely used timestamps and allow simple partial workarounds in writers designed to generate newer-version data useful even for older-version readers. This section attempts to document these compatibility issues and workarounds as well as other common bugs in readers.¶
Interoperability problems with TZif include the following:¶
Some interoperabilit
Appendix B. Example TZif Files
The following sections contain annotated hexadecimal dumps of example TZif files.¶
These examples should only be considered informative. Although the example data entries are current as of the publication date of this document, the data will likely change in the future as leap seconds are added and changes are made to civil time.¶
B.1. Version 1 File Representing UTC (with Leap Seconds)
To determine TAI corresponding
to 2000
B.2. Version 2 File Representing Pacific/Honolulu
To determine the local time in this time zone corresponding
to 1933
To determine the local time in this time zone corresponding
to 2019
B.3. Truncated Version 2 File Representing Pacific/Johnston
The following TZif file has been truncated to end on
2004
In this example:¶
B.4. Truncated Version 3 File Representing Asia/Jerusalem
The following TZif file has been truncated to start on
2038
In this example:¶
B.5. Truncated Version 4 File Representing Europe/London
The following TZif file has been truncated to start on
2022
In this example:¶
Acknowledgments
The authors thank the following individuals for contributing their ideas and support for writing this specification: Michael Douglass, Ned Freed, Guy Harris, Eliot Lear, Alexey Melnikov, and Tim Parenti.¶