message-format-wg icon indicating copy to clipboard operation
message-format-wg copied to clipboard

Define currency & unit formatting

Open eemeli opened this issue 1 year ago • 2 comments

Closes #838

Adds definitions for style=currency and style=unit as OPTIONAL for :number.

Support for compound operand values SHOULD be provided, and the corresponding currency and unit options MAY be provided.

Note that "currency formatting" and "unit formatting" are each treated as distinct optional blocks, so that e.g. supporting currencyDisplay but not supporting currencySign is not valid.

MUSTard is clarified.

The style option is removed from :integer, for clarity. All functionality for integral formatting with different styles is still supported via :number, but an :integer is made more explicitly just that, an integer.

Removes one of the few remaining spec mentions recommending readers "to track development [...] during Tech Preview".

eemeli avatar Oct 19 '24 11:10 eemeli