diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp index acc161d6a9..0a6db4926d 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.cpp @@ -364,7 +364,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, PlainTime, PlainYearMonth, ZonedDateTime) + if (is(item)) + return &static_cast(item).calendar(); + // TODO: The rest of the Temporal built-ins (PlainMonthDay, PlainYearMonth, ZonedDateTime) // 2. Let calendar be ? Get(item, "calendar"). auto calendar = item.get(vm.names.calendar);