diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp index b35e69c3ca..934a38415c 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp @@ -369,7 +369,9 @@ Object* get_temporal_calendar_with_iso_default(GlobalObject& global_object, Obje return &static_cast(item).calendar(); if (is(item)) return &static_cast(item).calendar(); - // TODO: The rest of the Temporal built-ins (PlainMonthDay, PlainYearMonth, ZonedDateTime) + if (is(item)) + return &static_cast(item).calendar(); + // TODO: The rest of the Temporal built-ins (PlainMonthDay, PlainYearMonth) // 2. Let calendar be ? Get(item, "calendar"). auto calendar = item.get(vm.names.calendar);