[EventCalendar] Old Events Not Disappearing Immediately
alex at firetree.net
Sun Feb 5 23:28:36 UTC 2006
I think the locale on your server may have changed. The behaviour you describe is incorrect - today's events are supposed to pop off the list at midnight, not immediately. Sadly, it doesn't work correctly unless your timezone is GMT. Wordpress has its own timezone correction feature, which just adds to the confusion.
This is something I mean to fix eventually.
If you actually WANT events to pop off as soon as they are passed, then you should be able to do that easily. Is that what you want? If so, I'll give you instructions.
On Sun, 5 Feb 2006 07:59:17 -0700
Maria Langer <mlanger at theflyingm.com> wrote:
> This just started the other day.
> I have been using EventCalendar 3.0.2 with a EC hack I found on the
> WordPress site to get it to work with WP 2.0. I use it to display the
> upcoming 5 events in the sidebar of one of my sites. What it USED TO
> DO was scroll an event off the list immediately after its date/time
> had passed. So a 2/3/06 event scheduled for 9 AM would appear in the
> sidebar until 9:01 of that day. This was okay with me.
> I made NO CHANGES to my site or setup and now, all of a sudden, the
> event appears in the list the next day, too. So if you look at my
> calendar on 2/4, you'd still see that 2/3 event. But on 2/5, it's gone.
> I upgraded to EC 3.0.4 and added the appropriate code to classes.php.
> The calendar continues to look and act the same, so I know I did the
> upgrade right. But I still see those "old" events.
> Anyone know why this might be happening? I'm new to WordPress, PHP,
> and MySQL, so it could be something so simple to you that you think I
> may have checked it. I probably haven't.
> I did, however, check the date on the computer and it is correct.
> EventCalendar mailing list
> EventCalendar at firetree.net
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net +44-7901-552763
More information about the EventCalendar