-
Notifications
You must be signed in to change notification settings - Fork 163
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
Editorial and docs updates #3073
Conversation
ptomato
commented
Jan 14, 2025
- Use "RFC 9557 string" where appropriate
- Use "available time zone identifier" where appropriate
- Update test262
For some reason, this identifier is listed both in TZDB's backward and backzone files. The correct one to use is backzone. Firefox is currently the only implementation that gets this correct. Correct the divergence in the polyfill.
Two incorrect tests from the SpiderMonkey staging tests were fixed, but one more was added.
The intention here was to set a default, not override any existing value. Thanks to Anba for spotting this. Closes: #3064
It is stage 4 now! Closes: #3067
Instead of always using a fake English-only format in this example, rely on Intl.DurationFormat if it is present. Still fall back to the fake format if it is not. See: #3067
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3073 +/- ##
==========================================
+ Coverage 96.21% 96.37% +0.15%
==========================================
Files 21 21
Lines 9867 9872 +5
Branches 1796 1800 +4
==========================================
+ Hits 9494 9514 +20
+ Misses 323 311 -12
+ Partials 50 47 -3 ☔ View full report in Codecov by Sentry. |
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.
Approve but please check Justin's comments
Mostly in docs, but also in error messages, comments, etc., and in some cases in the prose parts of the spec text. In some cases phrased to keep in mind that ISO 8601 probably has better name recognition for the time being. Closes: #3071
It does, in fact, include one, and that's where the HTML format comes from.
In a few places, we used "time zone identifier" (any string consisting of allowed code units) where "available time zone identifier" would be correct. Use that instead. See: #3055
Addresses GHSA-3xgq-45jj-v275 Although cross-spawn is a dependency of eslint and this probably doesn't matter, this silences a warning.
We don't want to imply that Z is the only way to get an exact time.
Comments addressed. I appreciate all the suggestions! |