summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-01-26 15:56:26 +0000
committerLinus Groh <mail@linusgroh.de>2023-01-26 20:20:54 +0000
commit921ef7273e526a579aa5ed75aaac973605f50b16 (patch)
treef1e58ee864d5c3895920f29bc1b15e0b79cf8e93 /Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h
parent453d3063f5b484d46dd6e704b296bb6191ad8f13 (diff)
downloadserenity-921ef7273e526a579aa5ed75aaac973605f50b16.zip
LibJS: Port temporal_date_to_string() to String
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h
index 1a30e6d48e..48053c72bf 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h
@@ -53,7 +53,7 @@ ThrowCompletionOr<ISODateRecord> regulate_iso_date(VM&, double year, double mont
bool is_valid_iso_date(i32 year, u8 month, u8 day);
ISODateRecord balance_iso_date(double year, double month, double day);
ThrowCompletionOr<String> pad_iso_year(VM&, i32 y);
-ThrowCompletionOr<DeprecatedString> temporal_date_to_string(VM&, PlainDate&, StringView show_calendar);
+ThrowCompletionOr<String> temporal_date_to_string(VM&, PlainDate&, StringView show_calendar);
ThrowCompletionOr<ISODateRecord> add_iso_date(VM&, i32 year, u8 month, u8 day, double years, double months, double weeks, double days, StringView overflow);
i8 compare_iso_date(i32 year1, u8 month1, u8 day1, i32 year2, u8 month2, u8 day2);
ThrowCompletionOr<Duration*> difference_temporal_plain_date(VM&, DifferenceOperation, PlainDate&, Value other, Value options);