-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Labels
c: datetimeComponent: dates, times, timezonesComponent: dates, times, timezoneseditorialInvolves an editorial fixInvolves an editorial fixquestions: help wantedStatus: help wanted; needs proposal championStatus: help wanted; needs proposal champion
Milestone
Description
From https://tc39.github.io/ecma402/#sec-initializedatetimeformat
Is that lowercase dataLocalData.[[hourCycle]]
intentional? It happens twice in the specs.
It sounds like a typo but I might be missing something from the LocaleData as in Let dataLocaleData be localeData.[[<dataLocale>]].
But also from DateTimeFormat Internal Slots we read [[LocaleData]][locale] must have a hourCycle field with a String value equal to "h11", "h12", "h23", or "h24" for all locale values.
First fix I can imagine is [[hourCycle]]
becoming [[HourCycle]]
with the Internal Slots section describing the hourCycle as a matching internal field.
Metadata
Metadata
Assignees
Labels
c: datetimeComponent: dates, times, timezonesComponent: dates, times, timezoneseditorialInvolves an editorial fixInvolves an editorial fixquestions: help wantedStatus: help wanted; needs proposal championStatus: help wanted; needs proposal champion