yes, I use str(time.strftime("%Y%m%dT%H%M%SZ", date.utctimetuple()))I created recurring event manualy and Export My Calendars (Download a zipped file containing each of your calendars in .ics format.) Then use this file. Works good. Thank question on ics-file My settings: Calendar Settings - Your current time zone: (GMT+02:00) in exported from google files some lines content "+0300". What it means? BEGIN:VTIMEZONE TZID:Europe/Kiev X-LIC-LOCATION:Europe/Kiev BEGIN:DAYLIGHT TZOFFSETFROM:+0200 TZOFFSETTO:+0300 TZNAME:EEST DTSTART:19700329T030000 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:+0300 TZOFFSETTO:+0200 TZNAME:EET DTSTART:19701025T040000 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU END:STANDARD END:VTIMEZONE On 5 дек, 20:46, "Ray Baxter" <[EMAIL PROTECTED]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
