Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Hey, thanks for reporting the bug. Couple questions to help track it down:
- What are the steps to reproduce this?
- Is it an all-day event, or does it have a start end end time?
- Does the event span multiple days?
- Is it a recurring/repeating event?
- What time zone is the calendar and what time zone is your webserver in?
- Is it all events, or just a single one?
If the calendar you are using isn't too private, can you post a link so I can try to reproduct it? Thanks
- the list dont start in today, but on next monday
- yes i have some all-day events but in other have the some problem
- some one have multiple days and they are wrong too
- not a recurring/repeating event
- the time zone is the same Europe/Lisbon
- its for all the events
I have some more problems with tamplate but...
well, i was start now the site for my school, but you can see it in www.colegiocalvao.org, if you go to menu in Plano de Actividades you can see the google agenda. the link id is admin@colegiocalvao.org
It looks like the event that has a specific time (Reunião: 6D 9D 17 December, 2008 4:00pm) is correct, but the ones that are all day are all 1 day off...
Can you send me the google XML link or calendar ID for the calendar?
I'm going to try to set my test page up with that timezone to see what it does.
Yes and no. That line was used to "hack" all day events to show up on the correct day. As it turns out, when timezones were added, some timezones ended up pushing the all-day events to one day LATER.
In the dev version, it was hacked in a slightly more elegant way. All-Day events were made to include the fake time "11:59pm" to make sure that they would show up on the correct day. Try using the dev release and see if that fixes your problem. I should really make a new official release once I get some more testing done.
Comments
Comment #1
Se7enLC commentedHey, thanks for reporting the bug. Couple questions to help track it down:
- What are the steps to reproduce this?
- Is it an all-day event, or does it have a start end end time?
- Does the event span multiple days?
- Is it a recurring/repeating event?
- What time zone is the calendar and what time zone is your webserver in?
- Is it all events, or just a single one?
If the calendar you are using isn't too private, can you post a link so I can try to reproduct it? Thanks
Comment #2
ferfer commentedthanks for your ansers.
- the list dont start in today, but on next monday
- yes i have some all-day events but in other have the some problem
- some one have multiple days and they are wrong too
- not a recurring/repeating event
- the time zone is the same Europe/Lisbon
- its for all the events
I have some more problems with tamplate but...
well, i was start now the site for my school, but you can see it in www.colegiocalvao.org, if you go to menu in Plano de Actividades you can see the google agenda. the link id is admin@colegiocalvao.org
Comment #3
ferfer commentedone more thing
When i debug the module it record every time the same time zone EUROPE/PARIS, even if i change it
Comment #4
Se7enLC commentedJust took a look at it.
It looks like the event that has a specific time (Reunião: 6D 9D 17 December, 2008 4:00pm) is correct, but the ones that are all day are all 1 day off...
Can you send me the google XML link or calendar ID for the calendar?
I'm going to try to set my test page up with that timezone to see what it does.
Comment #5
ferfer commentedthe link id is admin@colegiocalvao.org
Comment #6
Se7enLC commentedI think I fixed the problem.
Check out the latest version (1.12) of gcal_events.module under browse CVS and let me know if that fixes it
Comment #7
ferfer commentedthanks
Comment #8
ferfer commentedexcuse one more time, but why the block dont show any thing in anonymous user ? Is that a bug or i must set anything to show it?
Comment #9
ferfer commentedComment #10
mattmackay commentedI've been experiencing this even in the latest version (v1.3) of the module.
It appears to be down to this line of code:-
if ($allday) {
$unixdate += 86400;
}
If your timezone settings are correct, then this sets all of the all day events OUT by one day into the future.
I commented out these lines and cured my problem.
do we still need this code?
Comment #11
Se7enLC commentedYes and no. That line was used to "hack" all day events to show up on the correct day. As it turns out, when timezones were added, some timezones ended up pushing the all-day events to one day LATER.
In the dev version, it was hacked in a slightly more elegant way. All-Day events were made to include the fake time "11:59pm" to make sure that they would show up on the correct day. Try using the dev release and see if that fixes your problem. I should really make a new official release once I get some more testing done.
Comment #12
Se7enLC commentedthat section of code is gone now, I believe this is fixed, reopen if that's not the case.