-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Legacy date conversion #957
Conversation
Codecov Report
@@ Coverage Diff @@
## main #957 +/- ##
==========================================
- Coverage 93.93% 93.88% -0.05%
==========================================
Files 17 18 +1
Lines 5739 5743 +4
Branches 862 863 +1
==========================================
+ Hits 5391 5392 +1
- Misses 341 344 +3
Partials 7 7
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.
LGTM, thanks. Perhaps we also need to have a diffed version of the 262 and 402 specs somewhere at some point.
There's a linter error that needs to be fixed. Also, should we rename |
This was forgotten in the rename.
It seems appropriate to do this, now that we have a round() method to demonstrate.
This is in response to feedback that this conversion should be less verbose. No unit tests currently included because I found out that the test code doesn't import the shim but instead imports individual objects from lib/temporal.mjs, and I didn't see a quick way to fix that. Anyway, the method is tested in the cookbook already. Closes: #515
As suggested in code review, this avoids confusion between different regional spellings.
a688745
to
94091a1
Compare
Closes: #515
Includes a few stragglers from the Absolute→Instant rename and from the addition of round(), that I noticed.