Your original code was creating events in universal time (that's what the Z means). Is that what you want to do?
Ray 2008/12/5 Andrey Kostromin <[EMAIL PROTECTED]>: > > Thank you! > But create event with time = time - 1 h > > On 5 дек, 00:38, Trevor Johns <[EMAIL PROTECTED]> wrote: >> On Wed, Dec 3, 2008 at 8:19 AM, Andrey Kostromin >> >> >> >> >> >> <[EMAIL PROTECTED]> wrote: >> >> > I use example >> >http://code.google.com/apis/calendar/developers_guide_python.html#Cre... >> >> > I download ics-file with recurring event from google and add this event to >> > other calendar. Event losts time and is marked "All day" (only date, >> > without time) >> >> > # Recurring event. >> > recurrence_data = ('DTSTART;VALUE=DATE:%s\r\n' >> > + 'DTEND;VALUE=DATE:%s\r\n' >> > + 'RRULE:%s\r\n') % ( \ >> > self.format_datetime_recurring(event['start']), \ >> > self.format_datetime_recurring(event['end']), \ >> > event['rrule']) >> >> > print recurrence_data >> > e.recurrence = gdata.calendar.Recurrence(text=recurrence_data) >> >> > # Print next lines >> > DTSTART;VALUE=DATE:20080905T140000Z >> > DTEND;VALUE=DATE:20080905T152000Z >> > RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=20081226T150000Z;BYDAY=FR >> > # >> >> > e.recurrence = gdata.calendar.Recurrence(text=recurrence_data) >> >> > How I can create recurring event with time? >> >> I believe there's a syntax error in your recurrence rule. Try this instead: >> >> DTSTART:20080905T140000Z >> DTEND:20080905T152000Z >> RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=20081226T150000Z;BYDAY=FR >> >> (I removed ';VALUE=DATE'.) >> >> -- >> Trevor Johns > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
