util icon indicating copy to clipboard operation
util copied to clipboard

Fix CLDR date/time format (avoid using alt pattern)

Open rhpijnacker-philips opened this issue 1 year ago • 1 comments

The time-format for Swedish was changed from using : as a separator to using . with the last CLDR change. We got feedback that this is not the preferred format. In the CLDR input, this is listed as the alt form:

<timeFormatLength type="short">
<timeFormat>
	<pattern draft="contributed">HH:mm</pattern>
	<pattern alt="variant">HH.mm</pattern>
</timeFormat>
</timeFormatLength>

In later versions of CLDR, the draft="contributed" tag is removed, confirming that the : form is indeed the preferred one.

I updated the stylesheet transform script to exclude the alt form for time- and date-formats, which exposed some other places where the alt form was incorrectly used.

See related PR https://github.com/dojo/dojo/pull/446.

rhpijnacker-philips avatar Nov 18 '24 08:11 rhpijnacker-philips