Skip to content

Z + an offset parses as UTC for ZonedDateTime #402

@Manishearth

Description

@Manishearth

1970-01-01T00:00Z[+01:00] should parse as having a UTC offset (i.e, it should parse as a ZDT with Instant = -1h), but it doesn't.

This causes the zoneddatetime-string test262 failures.

Haven't yet investigated what is going on here, but figured I would at least file an issue before logging off for the day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    test262Issue related to test262 conformance

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions