mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:17:44 +00:00
LibJS: Make regulate_iso_date() and iso_date_from_fields() use ISODate
No need for TemporalDate, we don't use the calendar field here anyway.
This commit is contained in:
parent
dd58d0f650
commit
e036f4a786
5 changed files with 8 additions and 8 deletions
|
@ -659,7 +659,7 @@ double resolve_iso_month(GlobalObject& global_object, Object& fields)
|
|||
}
|
||||
|
||||
// 12.1.38 ISODateFromFields ( fields, options ), https://tc39.es/proposal-temporal/#sec-temporal-isodatefromfields
|
||||
Optional<TemporalDate> iso_date_from_fields(GlobalObject& global_object, Object& fields, Object& options)
|
||||
Optional<ISODate> iso_date_from_fields(GlobalObject& global_object, Object& fields, Object& options)
|
||||
{
|
||||
auto& vm = global_object.vm();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue