-
-
Notifications
You must be signed in to change notification settings - Fork 36
Drop the notation, compactDisplay, & numberingSystem options #1015
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about suggesting keeping these in Draft, but suspect that we'll do something different. No reason for us to mislead implementers.
@@ -116,10 +116,10 @@ which makes it available for use in later _expressions_ and _markup_ _options_. | |||
> For example, in | |||
> ``` | |||
> .input {$a :number minimumFractionDigits=3} | |||
> .local $b = {$a :integer notation=compact} | |||
> .local $b = {$a :integer useGrouping=never} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should make this change regardless
> - ICU4J's implementation might _accept_ a `com.ibm.icu.text.NumberingSystem` object | ||
> instead of using a [Unicode Numbering System Identifier](https://unicode.org/reports/tr35/tr35.html#UnicodeNumberSystemIdentifier) | ||
> for the option `numberingSystem` in _functions_ such as `:number` or `:integer`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In an ideal world we would find a replacement here, but not this morning.
Sure, if you want to do this and punt on the problem, fine with me. I'm not convinced compact notation should be moved to a separate function, but that's a discussion we can have at another time. |
This fixes some of the issues identified in the ICU4X TC in the doc linked from #1006 (comment) by removing the notation, compactDisplay, and numberingSystem options from all functions that currently have them.
This is not a complete solution, nor is it the one preferred by the ICU4X TC, but for at least these options it's the simplest thing we can do, and as @aphillips notes in a comment on the doc:
The removal of
notation
andcompactDisplay
was previously considered in #664, but dismissed on 2024-02-26.Regarding
numberingSystem
, we should take it out for now and re-evaluate what shape its option ought to take after the '47 release. Again, quoting @aphillips: