mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibJS: Handle PlainMonthDay in GetTemporalCalendarWithISODefault
This commit is contained in:
parent
1e54e37228
commit
ec00d4729a
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
Add a link
Reference in a new issue