Skip to content

UTC dates become Local when parsed #11

@bruce965

Description

@bruce965

DateTimeKind.Utc dates become DateTimeKind.Local when parsed, time is parsed correctly.

I guess the problem is around here.
The date should probably be constructed as either Local or Utc depending on the value of utc boolean.
The constructed data should then be converted to the other format, only if _params.UseUTCDateTime differs from utc.

Thanks! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions