Jump to:
| Project: | Auto Time Zone |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Cool module, but ...
It is 13:35 now. 01:35pm.
We use the 24h time format here in Europe.
My machine is in Germany, time is set to German time. GMT+01:00
ATZ reads this as: 01:35 GMT -1100
That is 12 hours off! And it is the wrong time-zone. :)
My speculation would be, that the misclassification is due to the 24h time format.
If so:
24h format is used in the following countries: USA, Canada, Australia and New-Sealand. (Wikipedia)
Critical bug, because:
If I require time-zone settings, it is because I have international users.
If I have international users, they will have international timezones. Not just English-speaking nations' time zones. ;)
For those remaining 20 or so time zones Auto Time Zone results are simply wrong.
(Checked one hour later: Still "-1100". Should be "+0100")
(Still need to verify during a.m. time. To be extra sure.)
Comments
#1
Ok, during a.m. ATZ is off by 12 hours in the other direction.
It's 07:34 in the morning. ATZ reads 19:34 in the evening.
Took a look at the code. Checked on the javascript gettimezoneoffset() function in use.
Notice, that the following javascript code example gives a correct GMT offset for the part of the world I live in:
http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_gettimezoneof...
It does the same thing.
Might be something in the callback.
#2
Have you tried the latest dev version?
#3
I am seeing this problem with both the 1.0 and latest dev releases.