unicode-org / icu4x

Solving i18n for client-side and resource-constrained environments.
https://icu4x.unicode.org
Other
1.37k stars 176 forks source link

Support numbering system variations in datetime patterns #308

Open sffc opened 4 years ago

sffc commented 4 years ago

Hawaiian has the following data:

            "dateFormats": {
              "full": "EEEE, d MMMM y",
              "long": "d MMMM y",
              "medium": "d MMM y",
              "short": {
                "_value": "d/M/yy",
                "_numbers": "M=romanlow"
              }
            },

https://github.com/unicode-cldr/cldr-dates-full/blob/204e99e8b28a52239bb6de1bbc89986cb19c0d50/main/haw/ca-gregorian.json#L277

In the short format, I believe it wants the month formatted with lowercase Roman numerals. We will be able to support this once NumberFormat is implemented.

sffc commented 3 years ago

Blocked by #595