From dd1a808f7e5a99d86acbd05b521c63bcdadf24c4 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 4 Nov 2021 22:42:55 +0100 Subject: [PATCH] LibJS: Remove TODO() from implemented code path Well, that's embarassing. TODO()'d it, implemented it, forgot to remove the TODO(). --- Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp index f32e843394..9c4c745d2c 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp @@ -557,7 +557,6 @@ ThrowCompletionOr disambiguate_possible_instants(GlobalObject& global_ // 13. If disambiguation is "earlier", then if (disambiguation == "earlier"sv) { - TODO(); // a. Let earlier be ? AddDateTime(dateTime.[[ISOYear]], dateTime.[[ISOMonth]], dateTime.[[ISODay]], dateTime.[[ISOHour]], dateTime.[[ISOMinute]], dateTime.[[ISOSecond]], dateTime.[[ISOMillisecond]], dateTime.[[ISOMicrosecond]], dateTime.[[ISONanosecond]], dateTime.[[Calendar]], 0, 0, 0, 0, 0, 0, 0, 0, 0, −nanoseconds, undefined). auto earlier = TRY(add_date_time(global_object, date_time.iso_year(), date_time.iso_month(), date_time.iso_day(), date_time.iso_hour(), date_time.iso_minute(), date_time.iso_second(), date_time.iso_millisecond(), date_time.iso_microsecond(), date_time.iso_nanosecond(), date_time.calendar(), 0, 0, 0, 0, 0, 0, 0, 0, 0, -nanoseconds, nullptr));