Skip to content

GetDateTimeFormat: Don't override timeZoneName if already present #3064

@anba

Description

@anba

GetDateTimeFormat, step 17.c:

c. If defaults is zoned-date-time, then
    i. Set formatOptions.[[timeZoneName]] to "short".

This step shouldn't be executed when formatOptions.[[timeZoneName]] is already defined.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions