1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:07:36 +00:00

LibJS: Disallow date-only strings for PlainTime

This is a normative change in the Temporal spec.

See: b16a296
This commit is contained in:
Linus Groh 2021-12-18 17:50:44 +00:00
parent 6da6da73cc
commit 01eefc344a
2 changed files with 20 additions and 3 deletions

View file

@ -128,6 +128,7 @@ public:
[[nodiscard]] bool parse_date_time();
[[nodiscard]] bool parse_calendar_time();
[[nodiscard]] bool parse_calendar_date_time();
[[nodiscard]] bool parse_calendar_date_time_time_required();
[[nodiscard]] bool parse_duration_whole_seconds();
[[nodiscard]] bool parse_duration_seconds_fraction();
[[nodiscard]] bool parse_duration_seconds_part();