diff options
authorArmin Kuster <>2018-10-22 14:05:11 (GMT)
committerRichard Purdie <>2018-11-07 21:34:08 (GMT)
commit7522dfaeee8f7889a1ad367ecb638166933b9948 (patch)
parent898b0f7788841312e010f6c4d0758f55f2c45c62 (diff)
tzcode: update to 2018f
Changes to code zic now always generates TZif files where time type 0 is used for timestamps before the first transition. This simplifies the reading of TZif files and should not affect behavior of existing TZif readers because the same set of time types is used; only their internal indexes may have changed. This affects only the legacy zones EST5EDT, CST6CDT, MST7MDT, PST8PDT, CET, MET, and EET, which previously used nonzero types for these timestamps. Because of the type 0 change, zic no longer outputs a dummy transition at time -2**59 (before the Big Bang), as clients should no longer need this to handle historical timestamps correctly. This reverts a change introduced in 2013d and shrinks most TZif files by a few bytes. zic now supports negative time-of-day in Rule and Leap lines, e.g., "Rule X min max - Apr lastSun -6:00 1:00 -" means the transition occurs at 18:00 on the Saturday before the last Sunday in April. This behavior was documented in 2018a but the code did not entirely match the documentation. localtime.c no longer requires at least one time type in TZif files that lack transitions or have a POSIX-style TZ string. This future-proofs the code against possible future extensions to the format that would allow TZif files with POSIX-style TZ strings and without transitions or time types. A read-access subscript error in localtime.c has been fixed. It could occur only in TZif files with timecnt == 0, something that does not happen in practice now but could happen in future versions. localtime.c no longer ignores TZif POSIX-style TZ strings that specify only standard time. Instead, these TZ strings now override the default time type for timestamps after the last transition (or for all time stamps if there are no transitions), just as DST strings specifying DST have always done. leapseconds.awk now outputs "#updated" and "#expires" comments, and supports leap seconds at the ends of months other than June and December. (Inspired by suggestions from Chris Woodbury.) (From OE-Core rev: 4670dcdb6e2504469c30ebed828d4702d8c0003c) (From OE-Core rev: 14b02a009ee97da39ad3f140215812c853d40348) Signed-off-by: Armin Kuster <> Signed-off-by: Richard Purdie <> Signed-off-by: Armin Kuster <> Signed-off-by: Richard Purdie <>
-rw-r--r--meta/recipes-extended/tzcode/ (renamed from meta/recipes-extended/tzcode/
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-extended/tzcode/ b/meta/recipes-extended/tzcode/
index 9a4e465..816e34d 100644
--- a/meta/recipes-extended/tzcode/
+++ b/meta/recipes-extended/tzcode/
@@ -11,10 +11,10 @@ SRC_URI ="${PV}.tar.gz
11 11
13 13
14SRC_URI[tzdata.md5sum] = "97d654f4d7253173b3eeb76a836dd65e" 14SRC_URI[tzdata.md5sum] = "e5e84f00f9d18bd6ebc8b1affec91b15"
15SRC_URI[tzdata.sha256sum] = "6b288e5926841a4cb490909fe822d85c36ae75538ad69baf20da9628b63b692e" 15SRC_URI[tzdata.sha256sum] = "0af6a85fc4ea95832f76524f35696a61abb3992fd3f8db33e5a1f95653e043f2"
16SRC_URI[tzcode.md5sum] = "c4d7df0fff7ba5588b32c5f27e2caf97" 16SRC_URI[tzcode.md5sum] = "011d394b70e6ee3823fd77010b99737f"
17SRC_URI[tzcode.sha256sum] = "ca340cf20e80b699d6e5c49b4ba47361b3aa681f06f38a0c88a8e8308c00ebce" 17SRC_URI[tzcode.sha256sum] = "4ec74f8a84372570135ea4be16a042442fafe100f5598cb1017bfd30af6aaa70"
18 18
19S = "${WORKDIR}" 19S = "${WORKDIR}"
20 20