Skip to content

Commit

Permalink
Add caches to timezone datagen (#6023)
Browse files Browse the repository at this point in the history
These are needed for future PRs.
  • Loading branch information
robertbastian authored Jan 21, 2025
1 parent beaca4d commit 30de31a
Show file tree
Hide file tree
Showing 5 changed files with 425 additions and 356 deletions.
2 changes: 2 additions & 0 deletions provider/source/src/cldr_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pub(crate) struct CldrCache {
pub(crate) transforms: OnceLock<
Result<std::sync::Mutex<icu::experimental::transliterate::RuleCollection>, DataError>,
>,
pub(crate) tz_caches: crate::time_zones::Caches,
}

impl CldrCache {
Expand All @@ -45,6 +46,7 @@ impl CldrCache {
modern_japanese_eras: Default::default(),
#[cfg(feature = "experimental")]
transforms: Default::default(),
tz_caches: Default::default(),
}
}

Expand Down
Loading

0 comments on commit 30de31a

Please sign in to comment.