Incorrect detection for International Date Line West

Issue #83 closed
Unknown Name
created an issue

OS: Windows 7 Ultimate SP1 Browsers: IE9.0.8112.16421, Chrome 34.0.1847.131m jsTimezoneDetect: 1.0.5

My computer's time zone is set to: (UTC-12:00) International Date Line West (computer clock shows a date/time that is 12 hours behind UTC)

The time zone is detected as: "Pacific/Majuro"

However, Pacific/Majuro is actually 12 hours ahead of UTC, not 12 hours behind it.

I believe this should instead be detected as: "Etc/GMT+12" (note that with the "Ect/GMT" notation, the plus sign indicates a number of hours ahead of UTC, not a number of hours behind it)

On an additional note, using the same setup above, but with the computer's time zone set to "(UTC) Coordinated Universal Time", the time zone is detected simply as "UTC", but should perhaps instead be detected as "Etc/GMT" (I'm basing this on the fact that I'm passing the detected value to NodaTime 1.2.0, in which "UTC" is not valid, but "Ect/GMT" is).

Comments (1)

  1. Log in to comment