错误地显示ios中的事件结束日期

时间:2013-09-26 07:05:47

标签: ios icalendar eventkit nscalendar ekevent

我正在开展一项活动。我在ical中添加一些事件。那个事件

开始日期:9月26日下午1点

结束日期:5月20日下午2点

复发结束日期:2014年4月5日

我在我的应用中加载了所有ical事件。但它显示了不同的结束日期。结束日期与重复结束日期相同。

  "EKEvent <0x1d9ed060> {EKEvent <0x1d9ed060> {title = Gt 45; location = ; calendar =  
 EKCalendar <0x1d9ea1b0> {title = Google; type = CalDAV; allowsModify = YES; color =    
 #0e61b9;}; alarms = (null); URL = (null); lastModified = 2013-09-26 06:36:37 +0000;  
 timeZone    = Asia/Kolkata (IST) offset 19800}; location = ; startDate = 2014-03-26 
 07:30:00 +0000; endDate = 2014-04-04 08:30:00 +0000; allDay = 0; floating = 0; 
 recurrence = EKRecurrenceRule <0x1d9d0f80> RRULE
 FREQ=MONTHLY;INTERVAL=1;UNTIL=20140405T182959Z; attendees = (null)}"

如果我没有设置重复,那么开始和结束日期是正确的,我必须设置。

0 个答案:

没有答案