Closed (fixed)
Project:
Event
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2008 at 22:31 UTC
Updated:
14 Dec 2008 at 22:31 UTC
Jump to comment: Most recent file
The calendar block "Calendar to browse events." shows this month (october 2008) correctly, but has the day of the week out by one on next month
See:
http://wellington.geek.nz/event/2008/11/28/month/all/all/1
1st of November is a saturday, not a sunday.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | event.module_67.patch | 737 bytes | Shiny |
| #3 | event.module.patch | 737 bytes | Shiny |
Comments
Comment #1
rimu commentedyeah i'm getting this too
Comment #2
Shiny commentedwe're now in November -- and dates in November are still one day out -- November 1st 2008 appears as a Friday, but it's not.
Comment #3
Shiny commentedWorked it out -- the code was assuming nobody is > 12 hours past GMT -- and here i am @ GMT+13
changed a mktime to a gmmktime, and then the line of code is now using all timestamps in GMT.
Comment #4
Shiny commentedComment #5
lyricnz commentedI understand that the gmdate/date needs to match the TZ of the gmmktime/mktime (the real bug), but why change the hour to 13?
Comment #6
killes@www.drop.org commentedComment #7
Shiny commented@lyricnz whoops.. the +13 happened during my debugging.
Patch rerolled with 12, and tested to confirm it fixes this error for timezones >12 ahead of UTC
Comment #8
lyricnz commentedI tested this previously, works for me.
Comment #9
gerhard killesreiter commentedApplied to D6 and D5.2.