BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 10.0 MIMEDIR//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
TZID:Eastern Time Zone
SUMMARY:Mount view
DTSTART:20150310T01:00:00Z
LOCATION:CHRIS NISWANDEE BITBOOST TUCSON Alabama 85728
SEQUENCE:0
DESCRIPTION:Spring is one of the four conventional temperate seasons, following winter and preceding summer. There are various technical definitions of spring, but local usage of the term varies according to local climate, cultures and customs.
END:VEVENT
BEGIN:VEVENT
TZID:Eastern Time Zone
SUMMARY:Mount view
DTSTART:20150310T01:00:00Z
LOCATION:CHRIS NISWANDEE BITBOOST TUCSON Alabama 85728
SEQUENCE:0
DESCRIPTION:Spring is one of the four conventional temperate seasons, following winter and preceding summer. There are various technical definitions of spring, but local usage of the term varies according to local climate, cultures and customs.
END:VEVENT
BEGIN:VEVENT
TZID:Eastern Time Zone
SUMMARY:Reiver view
DTSTART:20150311T13:25:59Z
LOCATION:100 MAIN ST PO BOX 1022 SEATTLE Hawaii 98104
SEQUENCE:0
DESCRIPTION:Spring is one of the four conventional temperate seasons, following winter and preceding summer. There are various technical definitions of spring, but local usage of the term varies according to local climate, cultures and customs.
END:VEVENT
BEGIN:VEVENT
TZID:Eastern Time Zone
SUMMARY:Reiver view
DTSTART:20150312T11:30:26Z
LOCATION:The Honorable Charles W. Anderson (Dear Mr. Ambassador:) 2050 Bamako Place DC Washington 20521-2050
SEQUENCE:0
DESCRIPTION:Spring is one of the four conventional temperate seasons, following winter and preceding summer. There are various technical definitions of spring, but local usage of the term varies according to local climate, cultures and customs.
END:VEVENT
BEGIN:VEVENT
TZID:Eastern Time Zone
SUMMARY:Site seeing
DTSTART:20150312T15:50:23Z
LOCATION:The Honorable Charles W. Anderson (Dear Mr. Ambassador:) 2050 Bamako Place DC Washington 20521-2050
SEQUENCE:0
DESCRIPTION:Spring is one of the four conventional temperate seasons, following winter and preceding summer. There are various technical definitions of spring, but local usage of the term varies according to local climate, cultures and customs.
END:VEVENT
BEGIN:VEVENT
TZID:Eastern Time Zone
SUMMARY:Breakfast
DTSTART:20150315T23:55:13Z
LOCATION:1500 N Congress Ave #3E18 Austin Texas 78701
SEQUENCE:0
DESCRIPTION:Spring is one of the four conventional temperate seasons, following winter and preceding summer. There are various technical definitions of spring, but local usage of the term varies according to local climate, cultures and customs.
END:VEVENT
END:VCALENDAR
上面的.ics文件在Outlook上工作正常,但是当我导入到Google日历时,事件开始时间显示的值不正确。
上面的.ics文件缺少什么?
任何人都可以使用明确的示例提供标准的.ics文件格式吗?
谢谢。
答案 0 :(得分:1)
DTSTART格式应该是
DTSTART:20150310T010000Z
然后,对于每个事件,您都有一个TZID属性,这在VEVENT中是非法的。
但你的DTSTART是在zulu(utc)时间还是在某个当地时区表达的?