-
Notifications
You must be signed in to change notification settings - Fork 2
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
Need to define which option values are supported in Intl methods with null locale #2
Comments
First of all, I rather like
I'm not sure yet. This also depends on what's meant by "not supported": do they not have an effect on the output, or do they produce an error? I don't think any current options should necessarily produce errors, but some may not have any effect.
I would actually go even further, and not just define the exact behaviour for option values, but also the output that's produced.
That sounds reasonable. I'm not very familiar with other calendars than Gregorian; do others also have standardised ways of displaying dates? |
Oh, interesting. I opened #5 for this idea. I was actually just using null colloquially to refer to this locale. I'm not convinced that this is the right term for it unless #5 is accepted, which I'm undecided is a good idea or not. If #5 is not accepted, then I think we should pick another name. See #6.
Agreed. For Intl.DTF formats in this proposal's locale, one possibility would be to align to Temporal objects' |
After thinking about it, I'm not sure that supporting the calendar option would be a good idea or not. See #9 to discuss. |
The readme says:
The proposal should define:
I assume that options like
timeZone
,calendar
, andfractionalSecondDigits
*will* be supported because they affect the non-localized numeric values of the output. If this assumption is wrong, please explain why. Thanks!The text was updated successfully, but these errors were encountered: