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
commit 4567ded8e4
Notes: sideshowbarker 2024-07-17 05:39:03 +09:00
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;