Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian committed Sep 30, 2024
1 parent bc78094 commit 717b5ec
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions components/timezone/src/windows_tz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,6 @@ impl<'a> WindowsTimeZoneMapperBorrowed<'a> {
/// let region = Some(Region::try_from_str("CA").unwrap());
/// let bcp47_id = win_tz_mapper.windows_tz_to_bcp47_id_with_region("Central Standard Time", region).unwrap();
/// assert_eq!(bcp47_id, Some(TimeZoneBcp47Id(tinystr!(8, "cawnp"))));
///
/// // NOTE: Central Standard Time/ZZ may point to "cst6cdt" in older version, but that
/// // has been deprecated id has been deprecated and uschi is preferred.
/// let region = Some(Region::try_from_str("ZZ").unwrap());
/// let bcp47_id = win_tz_mapper.windows_tz_to_bcp47_id_with_region("Central Standard Time", region).unwrap();
/// assert_eq!(bcp47_id, Some(TimeZoneBcp47Id(tinystr!(8, "uschi"))));
/// ```
pub fn windows_tz_to_bcp47_id_with_region(
&self,
Expand Down

0 comments on commit 717b5ec

Please sign in to comment.