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

LibJS: Reject relativeTo string such as "2022-08-18T17:01Z"

This is a normative change in the Temporal spec.

See: 2dc20bf
This commit is contained in:
Linus Groh 2022-10-17 09:20:38 +02:00
parent 57162ad510
commit 4567ded8e4
5 changed files with 22 additions and 2 deletions

View file

@ -24,6 +24,7 @@ struct ParseResult {
Optional<StringView> time_fraction;
Optional<StringView> calendar_name;
Optional<StringView> utc_designator;
Optional<StringView> time_zone_bracketed_annotation;
Optional<StringView> time_zone_numeric_utc_offset;
Optional<StringView> time_zone_utc_offset_sign;
Optional<StringView> time_zone_utc_offset_hour;