Skip to content

Missing calendar validation in ToRelativeTemporalObject and ToTemporalZonedDateTime #2546

@anba

Description

@anba

ToRelativeTemporalObject, step 7.d. should probably be:

7.d. Set calendar to ? ToTemporalCalendarSlotValue(calendar, "iso8601").

Otherwise the calendar String value isn't validated to be a known, built-in calendar.

Also applies to ToTemporalZonedDateTime, step 6.j.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions