diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h index 94fea7120a..fe2c9bd13c 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h +++ b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h @@ -8,7 +8,7 @@ #pragma once #include <LibJS/Runtime/Object.h> -#include <LibJS/Runtime/Temporal/AbstractOperations.h> +#include <LibJS/Runtime/Temporal/PlainDate.h> #include <LibJS/Runtime/Value.h> namespace JS::Temporal { @@ -58,7 +58,7 @@ u16 to_iso_day_of_year(i32 year, u8 month, u8 day); u8 to_iso_week_of_year(i32 year, u8 month, u8 day); String build_iso_month_code(u8 month); double resolve_iso_month(GlobalObject&, Object& fields); -Optional<TemporalDate> iso_date_from_fields(GlobalObject&, Object& fields, Object& options); +Optional<ISODate> iso_date_from_fields(GlobalObject&, Object& fields, Object& options); i32 iso_year(Object& temporal_object); u8 iso_month(Object& temporal_object); String iso_month_code(Object& temporal_object); |