-
Notifications
You must be signed in to change notification settings - Fork 17
Various fixes #107
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
Merged
Merged
Various fixes #107
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
43b1115
Add missing check that 'numberingSystem' is not undefined
anba 913a65c
GetDurationUnitOptions requires that prevStyle is a String value
anba c7b5ac8
Remove unnecessary initialisation for value and pass value as a Numbe…
anba ce0a0d3
Creating internal Intl objects is infallible
anba 03cff7c
Add missing Oxford comma
anba 6e7153d
Use correct NumberFormat variable
anba 8f995d2
Correctly call MakePartsList with a List of Records
anba fdc27d6
Use computed slot names
anba 7968d7c
Add a note that CreatePartsFromList will need to be changed
anba 2318b2f
Follow PartitionDateTimeRangePattern instead of using 'Stop iteration'
anba 1d54ece
Invert the condition instead of using 'Skip to the next iteration'
anba 1297f00
Add missing definition for 'display' variable
anba 6692e97
Don't append [[Unit]] field to the result list
anba e1a7fec
Make ToDurationRecord more similar to ToTemporalDurationRecord/ToTemp…
anba 0c95440
Rename DurationSign to DurationRecordSign to avoid clashing with Temp…
anba cf89536
Use 'of' instead of 'in' to match ECMA-402
anba 2fb3173
Change the operations from Temporal to be more like the rest of ECMA-402
anba 7d0c057
Enumerate Record fields for iteration to match ECMA-402
anba a8681d3
Remove `next row` which is undefined for the last row
anba 5789f68
Only append time separator when the next value will be displayed
anba 1f87460
Add a TODO note about incorrect handling of the time separator symbol
anba 8eb0100
Use "numeric" as the default style when the previous style is "numeri…
anba dfa1ce7
Use correct markup for string literals
anba a90d077
Use correct markup for null and number values
anba 7fe6e79
Use correct markup for throwing a RangeError
anba 8f0890b
Add missing dots
anba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Regarding this and the previous two commits, I believe I switched from asterisks to backticks on @rbuckton's advice. That said, I'd be happy to do either as long as we have a clear contender.
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.
The style changed at some point → tc39/ecma402#396, which links to other discussions and the corresponding PR for ECMA-262.