Hi--

It appears that this change has "broken" Google Calendar iCalendars in
PHP iCalendar.

Perhaps this has really just exposed a bug in PHP iCalendar's event
parsing, but events are now appearing at incorrect times in PHP
iCalendar. I did a (very) brief review of the PHP iCalendar calendar
parsing code:

http://phpicalendar.cvs.sourceforge.net/phpicalendar/phpicalendar/functions/ical_parser.php?view=markup
http://phpicalendar.cvs.sourceforge.net/phpicalendar/phpicalendar/functions/date_functions.php?view=markup

see function extractDateTime() in date_functions.php where the event
times are parsed.

Can you confirm that this is a permanent change in the data format? If
so, I'll see about hacking the PHP iCalendar code. If not, I'll wait
until the change is rolled back.

Thanks so much!

Cheers,
--Alex King

http://alexking.org


On Jul 15, 11:39 am, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We changed the format of the ics file to return times in GMT times for
> single events.  This change is due to the fact that many older versions of
> outlook with bad timezone definitions were unable to handle times in local
> time properly.
>
> I would recommend using standard timezone libraries like ICU4C or Joda time
> to perform timezone conversions.
>
> Hope that helps,
> Austin
>
> On Fri, Jul 11, 2008 at 1:15 AM, Paco <[EMAIL PROTECTED]> wrote:
>
> > Starting today the ICS file (exporting calendar events) has changed
> > the DTSTART and DTEND for existing events.
>
> > Yesterday, the following was retrieved for an event:
>
> > DTSTART;TZID=Europe/Madrid:20080714T090000
> > DTEND;TZID=Europe/Madrid:20080714T100000
>
> > And now I retrieved the following for the same event:
>
> > DTSTART:20080714T070000Z
> > DTEND:20080714T080000Z
>
> > As you can see there is a difference of 2 hours ( I guess for the
> > timezone).
>
> > How can I get events in the yestarday's format? or is this caused by a
> > temporary error/change in Google?
>
> > In order to circunvent this problem with my application, how can I
> > determine the real time taking in account the timezone and dayligth
> > saving as reported in the ICS file?
>
> > Thanks
> > Paco

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to