1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 18:57:34 +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:
Linus Groh 2021-08-04 22:28:21 +01:00 committed by Andreas Kling
parent dd58d0f650
commit e036f4a786
5 changed files with 8 additions and 8 deletions

View file

@ -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();