I am trying to debug the issues with storing and retrieving the events... there is some code that should set the date to midnight UTC time (keeping times as separate attributes in the xml, to simplify queries), but it doesn't seem to. In fact, the time displayed is different depending on if you are in the admin panel or on the actual events page. Simple test is to add the following after `set to midnight` in the `events_preload` function
Assuming London/Europe is set as the time zone, I get Mon, 25 Jul 2011 20:00:00 -0400 on the events page (which is the servers time zone) and Tue, 26 Jul 2011 01:00:00 +0100 in the admin panel. I want to then convert these to a UTC date for storing and querying, then just use strftime for display purposes
Code:
echo date("r", $events_calendar_date);
-- Sam