-
-
Notifications
You must be signed in to change notification settings - Fork 414
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
add some temporal methods #3856
Conversation
Test262 conformance changes
Fixed tests (130):
Broken tests (48):
|
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.
Just a little early feedback 😄
linked to boa-dev/temporal#44 |
25e9fb9
to
89f1b10
Compare
89f1b10
to
015fda4
Compare
015fda4
to
90dda86
Compare
b9c1f29
to
68578ef
Compare
6997e1e
to
a4a190f
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.
PartialDuration
update looks good to me! Had a couple more comments around MonthDay. 😄
Was double checking this. I think the new revision of |
696d13a
to
ae99c8b
Compare
Changes here are needed for boa-dev/boa#3856 - We need a way of checking if a partialDuration is empty, I don't know if the changes here would work, open to ideas. - We need to be able to convert from Finite64 back to f64 so I've added a From impl (for more info see the errors [here](https://github.com/boa-dev/boa/actions/runs/10188786383/job/28185603728?pr=3856):
- Move with implementation to to_temporal_month_day - review comments
Also use let _ to appease new clippy rules
79dd25d
to
6892c62
Compare
This reverts commit a4e602d.
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.
This is looking good! I had a few suggestions / noticed some places where some expects
can be removed to potentially get rid of the panics that popped up on the conformance testing.
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! Nice work! 😄
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.
Looks great!
Adds methods to yearMonth and monthDay
Relies on boa-dev/temporal#44