From eb60c333474c53a69d8c1e850433103e6709265e Mon Sep 17 00:00:00 2001 From: "Shane F. Carr" Date: Fri, 13 Oct 2023 14:29:27 -0700 Subject: [PATCH] Add new decimal pattern used in Toki Pona (`tok`) --- provider/datagen/src/transform/cldr/decimal/decimal_pattern.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/provider/datagen/src/transform/cldr/decimal/decimal_pattern.rs b/provider/datagen/src/transform/cldr/decimal/decimal_pattern.rs index 6b888603b05..6ee6271425e 100644 --- a/provider/datagen/src/transform/cldr/decimal/decimal_pattern.rs +++ b/provider/datagen/src/transform/cldr/decimal/decimal_pattern.rs @@ -62,6 +62,7 @@ impl FromStr for DecimalSubPattern { "#,##,##0.###" => (3, 2, 0, 3), "0.######" => (0, 0, 0, 6), "#,##0.00" => (3, 3, 2, 2), + "#,#0.###" => (2, 2, 0, 3), _ => return Err(Error::UnknownPatternBody(body.to_string())), }; Ok(Self {