In multiple locations the pattern lengths "wide" and "narrow" are mixed up. In LDML 4 is wide, and 5 is narrow: https://www.unicode.org/reports/tr35/tr35-dates.html#Contents:~:text=Pattern%20fields%20and%20the%20Date%20Field%20Symbol%20Table
|
/// - 4 is "narrow" |
|
/// - 5 is "wide" |
|
pub const NARROW: &DataMarkerAttributes = DataMarkerAttributes::from_str_or_panic("4"); |
|
pub const WIDE: &DataMarkerAttributes = DataMarkerAttributes::from_str_or_panic("5"); |
We need to validate if we just use the marker attributes the wrong way around (not a big deal, although should be documented), or if there is actual logic that got flipped (big deal).
Reactions are currently unavailable
In multiple locations the pattern lengths "wide" and "narrow" are mixed up. In LDML 4 is wide, and 5 is narrow: https://www.unicode.org/reports/tr35/tr35-dates.html#Contents:~:text=Pattern%20fields%20and%20the%20Date%20Field%20Symbol%20Table
icu4x/components/datetime/src/provider/names.rs
Lines 226 to 227 in bcb206c
icu4x/components/datetime/src/provider/semantic_skeletons.rs
Lines 25 to 26 in 0284a40
We need to validate if we just use the marker attributes the wrong way around (not a big deal, although should be documented), or if there is actual logic that got flipped (big deal).