It appears that the Etc/GMT labels in the event_get_timezones() function in event_timezones.inc is the wrong way around. For example, Etc/GMT-10 should be Etc/GMT+10.

The way the event_timezone_map($offset) function is coded means that it is easier to change the timezone labels rather than the offsets.

I have attached a patch, which corrects all the Etc/GMT entries apart from Etc/GMT+0.

Comments

Tobias Maier’s picture

patch file looks broken for me...

kmo’s picture

StatusFileSize
new8.04 KB

Let's try again

frjo’s picture

I found this bug my self and have fixed it in the same way as this patch do. This should be commited to both 4.6 and cvs.

drewish’s picture

StatusFileSize
new2 bytes

I couldn't get that patch to apply either, I didn't look like it was done against CVS. I did it by hand and rolled a new patch. It should apply to both 4.6 and HEAD (though you might have to tweak the version id).

drewish’s picture

StatusFileSize
new8.17 KB

I'll try this whole "attaching" thing again...

crunchywelch’s picture

committed to cvs and 4.6

crunchywelch’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)
Cromicon’s picture

Version: » 4.6.x-1.x-dev

GMT user
US server
Times on event calendar change as described above.
Site installed 1 week ago from latest update.
Is it possible the code has been accidentally reverted?