2009-04-29 84 views
0

我創建一個.ics文件的iCalendar提醒不工作

BEGIN:VCALENDAR 
VERSION:2.0 
CALSCALE:GREGORIAN 
METHOD:PUBLISH 
BEGIN:VEVENT 
UID: 
SUMMARY:IEP DUE ALERT 
ORGANIZER: 
LOCATION: 
DTSTART:20090429T060000Z 
DTEND:20090429T070000Z 
DTSTAMP:20090429T185030 
DESCRIPTION:An IEP is due for Test, Tyler on 4/29/2009. 
BEGIN:VALARM 
TRIGGER:P0DT1H0M 
ACTION:DISPLAY 
DESCRIPTION:Reminder 
END:VALARM 
END:VEVENT 
END:VCALENDAR 

我能夠創建約會,但提醒仍設置爲「無」。

請幫 感謝

+0

某事,你是怎麼編輯的文本? – Mithil 2009-04-29 19:38:21

回答

0

沒關係, 我用Response.ContentType = "text/x-vcalendar"這是vCalendar
代替Response.ContentType = "text/calendar"這是iCalendar

感謝

+1

這應該是一個評論 – 2013-02-15 11:04:58

0

您可以更新P0DT1H0M到-P0DT1H0M,它在谷歌日曆工作