You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when reading the timeSeparator definition in https://unicode.org/reports/tr35/tr35-59/tr35-numbers.html#Number_Symbols, it's not clear to me when ldml/numbers/symbols/timeSeparator should actually be used resp. if we should include the numbering system when looking up the time separator. UTS 35 has this note:
No CLDR locales are known to have a need to specify timeSeparator symbols that depend on number system; [...]. In the meantime, since CLDR data consumers can still request the timeSeparator symbol. it should match the symbol actually used in the timeFormats and availableFormats items.
The default (= "latn" numbering system [1]) time separator seems to match what's used in <timeFormats> and <availableFormats>, except for fr-CA:
fr-CA uses separate time separators for each time unit, i.e. "h", "min", and "s".
UTS 35 also defines durationUnit, which uses a single time separator which isn't numbering system dependent.
I'm currently a bit lost due to the conflicting definitions from UTS 35. Can we make this a bit more clear in the spec?
[1] "latn" numbering system and not <defaultNumberingSystem> for cases like ur-IN, which uses "arabext" as its default numbering system, but doesn't override ldml/numbers/symbols[@numberSystem="arabext"]/timeSeparator, so it's using the default from the root locale, which means "٫".
The text was updated successfully, but these errors were encountered:
CLDR defines a numbering system dependent time separator in
ldml/numbers/symbols/timeSeparator
.For example,
da-u-nu-latn
uses the time separator"."
, whereasda-u-nu-arabext
falls back to the root time separator"٫"
.But when reading the
timeSeparator
definition in https://unicode.org/reports/tr35/tr35-59/tr35-numbers.html#Number_Symbols, it's not clear to me whenldml/numbers/symbols/timeSeparator
should actually be used resp. if we should include the numbering system when looking up the time separator. UTS 35 has this note:The default (=
"latn"
numbering system [1]) time separator seems to match what's used in<timeFormats>
and<availableFormats>
, except forfr-CA
:fr-CA
uses separate time separators for each time unit, i.e."h"
,"min"
, and"s"
.UTS 35 also defines durationUnit, which uses a single time separator which isn't numbering system dependent.
I'm currently a bit lost due to the conflicting definitions from UTS 35. Can we make this a bit more clear in the spec?
[1]
"latn"
numbering system and not<defaultNumberingSystem>
for cases likeur-IN
, which uses"arabext"
as its default numbering system, but doesn't overrideldml/numbers/symbols[@numberSystem="arabext"]/timeSeparator
, so it's using the default from theroot
locale, which means"٫"
.The text was updated successfully, but these errors were encountered: