diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp index 8666846e8c8..d15d75524b5 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -300,7 +301,8 @@ Object* to_temporal_calendar(GlobalObject& global_object, Value temporal_calenda return &static_cast(temporal_calendar_like_object).calendar(); if (is(temporal_calendar_like_object)) return &static_cast(temporal_calendar_like_object).calendar(); - // TODO: PlainMonthDay + if (is(temporal_calendar_like_object)) + return &static_cast(temporal_calendar_like_object).calendar(); if (is(temporal_calendar_like_object)) return &static_cast(temporal_calendar_like_object).calendar(); if (is(temporal_calendar_like_object))