-
Notifications
You must be signed in to change notification settings - Fork 153
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
Duration iscalendarunit #2707
Duration iscalendarunit #2707
Conversation
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.
Thanks for contributing!
We generally try to update the specification text along with the reference code at the same time. Any chance you would like to tackle that change as well?
polyfill/lib/iscalendardate.mjs
Outdated
@@ -0,0 +1,3 @@ | |||
export function isCalendarDate(unit) { |
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.
In this codebase we generally aren't using the one-export-per-file style; for now I'd suggest putting this into lib/ecmascript.mjs
.
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.
Will do! Also will try to update the spec text. Probably going to get to this this weekend.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2707 +/- ##
==========================================
- Coverage 96.61% 95.91% -0.70%
==========================================
Files 23 23
Lines 12229 11872 -357
Branches 2281 2338 +57
==========================================
- Hits 11815 11387 -428
- Misses 354 420 +66
- Partials 60 65 +5 ☔ View full report in Codecov by Sentry. |
605eba2
to
ce4605e
Compare
ce4605e
to
877e765
Compare
bdebb14
to
6a79293
Compare
6a79293
to
2485664
Compare
2485664
to
c11cc80
Compare
Co-authored-by: Max Rashes mrashes2@gmail.com Co-authored-by: El Linzer elinzer5@gmail.com
08f4bc7
to
95b3e9d
Compare
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.
Now that the other duration changes have been merged, I finally was able to rebase this and add the spec text. Thanks for contributing and sorry for the long wait!
Use this operation in the spec as well, for readability and conciseness.
95b3e9d
to
ebdc729
Compare
Refactor for legibility - #2692
Two errors that were triggering on test were present in branch previously
co-authored by El Linzer elinzer5@gmail.com