LibJS: Handle PlainMonthDay in GetTemporalCalendarWithISODefault
This commit is contained in:
parent
1e54e37228
commit
ec00d4729a
Notes:
sideshowbarker
2024-07-18 05:42:09 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/ec00d4729a9 Pull-request: https://github.com/SerenityOS/serenity/pull/9429 Reviewed-by: https://github.com/IdanHo ✅
1 changed files with 2 additions and 1 deletions
|
@ -372,7 +372,8 @@ Object* get_temporal_calendar_with_iso_default(GlobalObject& global_object, Obje
|
|||
return &static_cast<PlainDate&>(item).calendar();
|
||||
if (is<PlainDateTime>(item))
|
||||
return &static_cast<PlainDateTime&>(item).calendar();
|
||||
// TODO: PlainMonthDay
|
||||
if (is<PlainMonthDay>(item))
|
||||
return &static_cast<PlainMonthDay&>(item).calendar();
|
||||
if (is<PlainTime>(item))
|
||||
return &static_cast<PlainTime&>(item).calendar();
|
||||
if (is<PlainYearMonth>(item))
|
||||
|
|
Loading…
Add table
Reference in a new issue