Hey all--
We've been having a glitch with the events module at work, and I was wondering if anyone has encountered the same thing and/or knows how to get around it...
Thanks in advance for any help!
Ariane
On a site running Drupal 4.7 there seems to be an issue with the event listing display.
Events which have a start and end date on the same day, but which start after 6pm will bump the end date/time to the next day. Confused? Here's an example:
- An event starts at 7pm Wed May 16th ends 9pm Wed May 16th, it is displaying on the calender list view as Starts 7pm Wed May 16th, Ends 9pm Thur May 17th. I have double checked that the data is correctly entered (several times). If this event were to happen from 2-4pm on the same day, the same problem doesn't happen, it seems to just happen to after 6pm events.
Settings wise, I have event settings set up as:
Event time zone input: uses sitewide timezone
Event time zone display: uses sitewide timezone
Sitewide settings:
Allow for configurable time zones (though disabling this doesn't seem to fix anything).
My sitewide timezone is GMT - 8hours.
Comments
Bug
I think there was a bug in the "standard" event listing block that used the wrong time function. So....when you say "bump the end date/time to the next day" -- where are you seeing this? In the Upcoming events block? In the calendar itself?
Oh, and esp. for D5 (why aren't you running D5? Use D5. No, really, use D5) you might want to consider Date + Calendar + CCK. killes is still updating Event...but, well, I've never been a fan.
Thanks for replying
Thanks for replying Boris!
So, it's in the calendar itself, and basically it shows the next day's date somehow if it's after 6pm, it bumps it ahead over 6 hours when you save the event so that it has the next day's date (it doesn't effect the upcoming events block, because I think that just shows the date for the start of the event).
I will relay the D5 encouragement--that's not really my call, but I will emphasize the importance of it in resolving this, especially assuming that's the only way to fix it!
I'll also check on the option of the other modules, but I doubt that'll be a real option cause there are so many events already in the calendar, and not enough budget to really deal with doing something like that...
I'll talk to my peeps about the info tomorrow and see what we can do!
Thanks again,
A.
Next day's date
If the upcoming event has something that STARTS after 6pm, and it DOESN'T get bumped to the next day...then there is something else fishy going on.
So, this is only on display of the calendar, right?
What about when viewing the individual event? Is the displayed date wrong in the node view?
Can you post a screenshot and/or a public link
Ok, I lied--looking at it
Ok, I lied--looking at it this morning, it's actually fine in the calendar and upcoming events block, it's ONLY wrong when you view the individual event.
To see the example, go to: http://bcfed.ca/event, and look at the The British Invasion - Kamloops Public Health Care Forum on May 15, which is correct--7pm-9pm, but when you click on it and view the event details, http://bcfed.ca/node/961, it says that it ends 9pm the next day (May 16). We've been finding it only effects the end time for some reason.
Off by exactly one day
Ah ha! OK....now we're getting closer. So we're off not by a random amount of hours, but by exactly 24 hours, and only in the full node view.
So, what version of the event module are you using? Actually, scratch that...I can see that killes isn't doing "official" release for 4.7, just the 4.7 "branch". So, re-downloading 4.7 will actually get you a "newer" version. I would suggest trying that as a first step.
(and you do have a non-live copy of the site where you test these things, right?!?)
(haha, i don't think
(haha, i don't think so...but i'm not sure!)
ok, i think we're gonna give that a shot--will let you know how it went...
Maybe theming
Check the theming template (node-event.tpl.php?). Comparing the node HTML of your site's event node to an unmodified event node, it looks like it's themed. It's possible the themer used the PHP date function and there's a timezone issue. Not the first thing I'd check, because you usually get an off by 3 - 8 hour problem, not 24 hours, but maybe something weird is going on like he/she formated the date string independent of the time.
Node data can also be changed in the theme's template.php file.
A quick test to see if it's the theme is to change back to a default theme. Only really an option if you have a test server or want to do it at 3am :-)
thanks dale, after passing
thanks dale, after passing on your post, apparently there was something like this done early on, so that might actually be what's going on... our programmer is probably going to look at it later on, so i will update on the situation after he checks it out.
hey--i kept forgetting to
hey--i kept forgetting to update on this--chris managed to get it fixed...i was hoping to be able to explain what he did incase it happens to anyone else, that said, my (little) understanding is that it ended up being something in the added on code, and not in the module itself, so hopefully nobody will have the same problem!
thanks for all your help boris and dale!
So what was the resolution?
I'm running into this same problem. What was the resolution?