We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This occurs on steps 16 and 19 of PlainYearMonth#until (https://tc39.es/proposal-temporal/#sec-temporal.plainyearmonth.prototype.until):
16. Let otherDate be ? DateFromFields(calendar, otherFields). ... 19. Let thisDate be ? DateFromFields(calendar, thisFields).
This also occurs on steps 17 and 20 of PlainYearMonth#since (https://tc39.es/proposal-temporal/#sec-temporal.plainyearmonth.prototype.since):
17. Let otherDate be ? DateFromFields(calendar, otherFields). ... 20. Let thisDate be ? DateFromFields(calendar, thisFields).
The current definition of DateFromFields marks options as required and has no fallback value if it's not present (https://tc39.es/proposal-temporal/#sec-temporal-datefromfields):
options
12.1.24 DateFromFields ( calendar, fields, options ) 1. Assert: Type(calendar) is Object. 2. Assert: Type(fields) is Object. 3. Let date be ? Invoke(calendar, "dateFromFields", « fields, options »). 4. Perform ? RequireInternalSlot(date, [[InitializedTemporalDate]]). 5. Return date.
The text was updated successfully, but these errors were encountered:
DateFromFields also seems to be missing an assertion about the type of options.
Sorry, something went wrong.
I think this is duplicated by #1685, so I'll close it, but please let me know if there's something else that I missed.
No branches or pull requests
This occurs on steps 16 and 19 of PlainYearMonth#until (https://tc39.es/proposal-temporal/#sec-temporal.plainyearmonth.prototype.until):
This also occurs on steps 17 and 20 of PlainYearMonth#since (https://tc39.es/proposal-temporal/#sec-temporal.plainyearmonth.prototype.since):
The current definition of DateFromFields marks
options
as required and has no fallback value if it's not present (https://tc39.es/proposal-temporal/#sec-temporal-datefromfields):The text was updated successfully, but these errors were encountered: