-
Notifications
You must be signed in to change notification settings - Fork 157
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
Define legal userland time zone and calendar identifiers #665
Labels
documentation
Additions to documentation
non-prod-polyfill
THIS POLYFILL IS NOT FOR PRODUCTION USE!
spec-text
Specification text involved
Milestone
Comments
ptomato
added
documentation
Additions to documentation
spec-text
Specification text involved
non-prod-polyfill
THIS POLYFILL IS NOT FOR PRODUCTION USE!
labels
Sep 18, 2020
(Calendar names consist of components of between 2 and 8 ASCII alphanumeric characters each, separated by dashes: https://tools.ietf.org/html/bcp47#section-2.1) |
ptomato
added a commit
that referenced
this issue
Oct 16, 2020
A valid calendar ID according to BCP 47 is a number of components consisting of 2 to 8 ASCII alphanumerics each, joined by dashes. Add this to the grammar and enforce it in custom calendars. See: #665
ptomato
added a commit
that referenced
this issue
Oct 16, 2020
A valid calendar ID according to the tzdata documentation is a number of components consisting of 1 to 14 ASCII alpha characters, dashes, dots, or underscores each, joined by slashes. `.`, `..`, or any string starting with a dash are not valid components. Add this to the grammar and enforce it in custom time zones. Etc/GMT time zones are an exception, as they may contain + or digits. These are valid for parsing, but not for custom time zones. See: #665
ptomato
added a commit
that referenced
this issue
Oct 16, 2020
A valid calendar ID according to BCP 47 is a number of components consisting of 2 to 8 ASCII alphanumerics each, joined by dashes. Add this to the grammar and enforce it in custom calendars. See: #665
ptomato
added a commit
that referenced
this issue
Oct 16, 2020
A valid calendar ID according to the tzdata documentation is a number of components consisting of 1 to 14 ASCII alpha characters, dashes, dots, or underscores each, joined by slashes. `.`, `..`, or any string starting with a dash are not valid components. Add this to the grammar and enforce it in custom time zones. Etc/GMT time zones are an exception, as they may contain + or digits. These are valid for parsing, but not for custom time zones. See: #665
ptomato
added a commit
that referenced
this issue
Oct 17, 2020
A valid calendar ID according to BCP 47 is a number of components consisting of 2 to 8 ASCII alphanumerics each, joined by dashes. Add this to the grammar and enforce it in custom calendars. See: #665
ptomato
added a commit
that referenced
this issue
Oct 17, 2020
A valid calendar ID according to the tzdata documentation is a number of components consisting of 1 to 14 ASCII alpha characters, dashes, dots, or underscores each, joined by slashes. `.`, `..`, or any string starting with a dash are not valid components. Add this to the grammar and enforce it in custom time zones. Etc/GMT time zones are an exception, as they may contain + or digits. These are valid for parsing, but not for custom time zones. See: #665
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Additions to documentation
non-prod-polyfill
THIS POLYFILL IS NOT FOR PRODUCTION USE!
spec-text
Specification text involved
Follow up from #638. Previously the definition of what should be parsed as a time zone name was "any string for which IsValidTimeZoneName returns true".
Now that we allow custom time zones, what names should be allowed? Is
Etc/🐈
a valid name for a time zone, making2020-06-11T16:06:23.123+01:23[Etc/🐈]
a valid ISO string?IANA names adhere to the following rules:
Same question for calendar names.
The text was updated successfully, but these errors were encountered: