mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
LibJS: Fix TemporalCalendarString ambiguity
This is a normative change in the Temporal spec. See: -278d238
-b73aea7
This commit is contained in:
parent
484c66125d
commit
b6f101f1c0
6 changed files with 63 additions and 50 deletions
|
@ -52,8 +52,8 @@ enum class Production {
|
|||
TemporalTimeZoneString,
|
||||
TemporalYearMonthString,
|
||||
TemporalZonedDateTimeString,
|
||||
TemporalCalendarString,
|
||||
TimeZoneNumericUTCOffset,
|
||||
CalendarName,
|
||||
};
|
||||
|
||||
Optional<ParseResult> parse_iso8601(Production, StringView);
|
||||
|
@ -166,7 +166,6 @@ public:
|
|||
[[nodiscard]] bool parse_temporal_time_zone_string();
|
||||
[[nodiscard]] bool parse_temporal_year_month_string();
|
||||
[[nodiscard]] bool parse_temporal_zoned_date_time_string();
|
||||
[[nodiscard]] bool parse_temporal_calendar_string();
|
||||
|
||||
private:
|
||||
struct State {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue