-
Notifications
You must be signed in to change notification settings - Fork 472
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 Temporal.Calendar.prototype.daysIn* tests. #3052
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.
Please fix the directory names.
PTAL |
@FrankYFTang how are you testing these against test262-harness? |
esid: sec-temporal.calendar.prototype.daysinmonth | ||
description: Temporal.Calendar.prototype.daysInMonth will take Temporal.PlainDate object | ||
and return the number of days in that month. | ||
and return Array of the same content. |
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.
Which one?
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.
sorry. Bad copy and paste.
PTAL |
Sorry, I do not understand your question. I prototype an implemention in v8 and code the test262 tests in v8 tree, run it and see it's outcome is reasonable or not, then I copy over the file to test262 tree and upload the PR. In my v8 build I ran $ tools/run-tests.py --outdir=out/x64.release test262/built-ins/Temporal/Calendar* Does this answer your question? |
This is the information I was looking for. When will any of that be available in nightlies? |
I am aiming to land a rough prototype behind the flag by end of Q3 with full internationalization support. This is my main task for Q3 and so far so good. very rough prototype cl (not ready for review) in https://chromium-review.googlesource.com/c/v8/v8/+/2967755 in case you like to patch v8 and play with it. Not advise you to do so. Better wait another 2.5 months after I land most of the functionality. |
I can also upload my patches for https://bugzilla.mozilla.org/show_bug.cgi?id=1519167, if that is useful for anyone. I didn't yet upload them because there are still many open issues (tc39/proposal-temporal#1502 covers roughly half of my notes about spec issues), so I was waiting for the proposal to be a bit more polished. |
test/built-ins/Temporal/Calendar/prototype/daysInMonth/plain-date-time.js
Outdated
Show resolved
Hide resolved
PTAL |
#3002
@jugglinmike @ryzokuken @Ms2ger