Hi,

I used GData ObjC to create a recurring event by the following codes:

NSURL *feedURL = [[self.myCalendar alternateLink] URL];
GDataEntryCalendarEvent *newEvent = [GDataEntryCalendarEvent
calendarEvent];
[newEvent setTitleWithString:@"Test Create Recurring Event"];
NSString *str = @"DTSTART;TZID=Asia/Saigon:20081110T160000\r\n \
                        DTEND;TZID=Asia/Saigon:20081110T170000\r\n \
                        RRULE:FREQ=DAILY";

GDataRecurrence *recur = [GDataRecurrence recurrenceWithString:str];
[newEvent setRecurrence:recur];
GDataServiceGoogleCalendar *service = [self calendarService];
[service fetchCalendarEventByInsertingEntry:newEvent
                forFeedURL:feedURL
                delegate:self
        
didFinishSelector:@selector(addRecurringEventTicket:finishedWithFeed:)
                didFailSelector:@selector(errorTicket:failedWithError:)];

The recurring event was successfully created, however I saw only 1
instance of recurring event in my calendar. When I opened to edit
event details, I saw the "Repeats" field was "Does Not Repeat". In
fact, the recurring event is repeated daily.

Could anyone give me an advise for the right way to create recurring
event?

Thanks,
Trung

--~--~---------~--~----~------------~-------~--~----~
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