Skip to content

Incorrect mapping for UTC on windows machines #7

@MartinDawson

Description

@MartinDawson

So, basically the problem is on windows the mappings from UTC actually sets it to GMT timezone. for example:

"Mon Jan 06 2020 00:00:00 GMT+0000 (Greenwich Mean Time)"

Instead it should be this:

"Mon Jan 06 2020 00:00:00 GMT+0000 (Coordinated Universal Time)"

As it is on macbooks.

This answer has the solution: https://stackoverflow.com/questions/24394610/noda-time-iana-mapping-of-etc-utc-to-windows-timezone

As Jon pointed out, the CLDR mapping is not there for "Etc/UTC". Instead, the CLDR maps the Windows "UTC" time zone to "Etc/GMT". IMHO - this is in error.

https://stackoverflow.com/questions/17348807/how-to-translate-between-windows-and-iana-time-zones/17348822#17348822

Basically instead of mapping to GMT it should go to UTC to provide a consistent experience with macs and ubuntu otherwise we have out of sync times between OS.

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