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
InitializeDateTimeFormat and ToDateTimeOptions throw a TypeError when dateStyle/timeStyle is mixed with the other date-time component options. Is that error similar to the situation when "roundingIncrement" is used with non-fractional rounding and should therefore InitializeNumberFormat be changed to throw a TypeError instead of a RangeError? The relevant step is:
If roundingIncrement is not 1 and numberFormat.[[RoundingType]] is not fractionDigits, throw a RangeError exception.
I don't have any preference here, I've just spotted this when implementing the error behaviour for "roundingIncrement".
The text was updated successfully, but these errors were encountered:
InitializeDateTimeFormat and ToDateTimeOptions throw a TypeError when dateStyle/timeStyle is mixed with the other date-time component options. Is that error similar to the situation when "roundingIncrement" is used with non-fractional rounding and should therefore InitializeNumberFormat be changed to throw a TypeError instead of a RangeError? The relevant step is:
I don't have any preference here, I've just spotted this when implementing the error behaviour for "roundingIncrement".
The text was updated successfully, but these errors were encountered: