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 fixes #807
Duration fixes #807
Conversation
Codecov Report
@@ Coverage Diff @@
## main #807 +/- ##
=======================================
Coverage 92.24% 92.25%
=======================================
Files 17 17
Lines 4797 4800 +3
Branches 750 754 +4
=======================================
+ Hits 4425 4428 +3
Misses 370 370
Partials 2 2
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.
Thanks for this PR. LGTM with @gibson042's comments addressed.
These are not allowed according to ISO 8601, nor according to our grammar in the spec, but we inadvertently accepted them and even tested for them in the regex tests.
This was already the case in all of the types except Temporal.Duration. Add tests to make sure it stays that way.
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
46ce1cb
to
2150634
Compare
Minor bugs that I have run into while working on negative durations.