Skip to content

Commit b4a9f8a

Browse files
zoneinfo64 transitions APIs (#6884)
1 parent 4c100fb commit b4a9f8a

File tree

5 files changed

+581
-442
lines changed

5 files changed

+581
-442
lines changed

Cargo.lock

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

utils/zoneinfo64/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ chrono = { version = "0.4", optional = true }
2828

2929
[dev-dependencies]
3030
chrono-tz = "0.10.4"
31+
itertools.workspace = true
32+
jiff = { version = "0.2.15", default-features = false, features = ["tzdb-bundle-always", "std"] }
3133

3234
[features]
3335
chrono = ["dep:chrono"]

utils/zoneinfo64/src/deserialize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ pub struct TzZoneDataRaw<'a> {
199199
)]
200200
final_rule: Option<&'a PotentialUtf16>,
201201
final_raw: Option<i32>,
202-
final_year: Option<u32>,
202+
final_year: Option<i32>,
203203
#[allow(dead_code)]
204204
#[serde(
205205
borrow,

0 commit comments

Comments
 (0)