Skip to content

[Test issue] ParseJSON(<value>, DateTime) or AsType(ParseJSON(<value>), DateTime) don't follow test setup 'TimeZoneInfo' #3068

Description

Follow up to !3067 - the tests below failed, in tests with a #SETUP: TimeZoneInfo("Pacific Standard Time") directive:

>> AsType(ParseJSON("""2000-12-31T15:59:59.999"""), DateTime) = DateTimeValue("2000-12-31T23:59:59.999Z")
true

>> ParseJSON("""2008-01-01T04:12:12.100""", DateTime) = DateTimeValue("2008-01-01T12:12:12.100Z")
true

The directive isn't passed correctly to the runtime, so we should investigate why this is the case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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