-
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
Editorial bug fixes and polyfill refactors to match recent editorial changes #2214
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2214 +/- ##
==========================================
+ Coverage 89.99% 91.17% +1.18%
==========================================
Files 19 19
Lines 10901 10524 -377
Branches 1683 1688 +5
==========================================
- Hits 9810 9595 -215
+ Misses 1079 917 -162
Partials 12 12
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Spec changes look good.
PrepareTemporalFields, PreparePartialTemporalFields, and MergeLargestUnitOption
Introduces the DRY operations ES.DifferenceTemporal___ in order to match recent changes to the spec text.
This was previously done with the spread syntax, but we are going to make a change to it, so we'll need a function instead. The spec text has the operation MergeLargestUnitOption, so name it that. The ObjectCreate(null) step was previously missing, so add it in order to be compliant with the spec.
Introduces the DRY operations ES.AddDurationToOrSubtractDurationFrom___ in order to match recent changes to the spec text.
This contains editorial changes to the spec text:
Also some refactors in the polyfill code, to match recent editorial changes: