I use example
http://code.google.com/apis/calendar/developers_guide_python.html#CreatingRecurring
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?
--
Best regards,
Andrey Kostromin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---