When Drupal detects my timezone, it suggests Europe/Kaliningrad (GMT+3), though my timezone is Europe/Copenhagen (GMT+2).
The problem is that my browser (Firefox on Debian Lenny) uses the CET abbreviation during both summer and winter. It currently returns "Tue Apr 13 2010 20:37:20 GMT+0200 (CET)", though the official abbreviation during daylight saving time is CEST. Apparently, if the abbreviation is known to timezone_name_from_abbr(), the other parameters to the function are ignored.
In Google Chrome on the same OS it works fine.
I don't know how common this problem is. But here is a patch that makes timezone.js omit the time zone abbreviation if it is the same string with and without daylight saving time.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | timezone-detect-4.patch | 2.85 KB | saurabh.tripathi.cs |
| timezone-detect-1.patch | 2.85 KB | c960657 |
Comments
Comment #1
Danic commentedComment #2
amonterotimezone-detect-1.patch queued for re-testing.
Comment #4
saurabh.tripathi.cs commentedHi,
I applied this patch again on drupal 7.51 tag and it works properly, uploading the same again.
Thanks
Comment #6
saurabh.tripathi.cs commentedIt seems, The auto review is not changing directory while applying patch.
Comment #7
darius.restivan commentedPatch 4 failed to apply.
Comment #8
dddave commented#7 makes no sense. Setting status back.