【问题标题】:.ical standard format for Outlook and Google Calendar?Outlook 和 Google 日历的 .ical 标准格式?
【发布时间】:2015-05-11 14:53:57
【问题描述】:
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文件格式和一个清晰的例子?

谢谢。

【问题讨论】:

  • 尝试从 Google 日历中导出活动,看看有什么不同。
  • 好的。谢谢。 .ics 文件有标准格式吗?

标签: icalendar


【解决方案1】:

DTSTART 格式应如下所示

DTSTART:20150310T010000Z

然后,对于每个事件,您都有一个 TZID 属性,该属性在 VEVENT 中是非法的。

但是您的 DTSTART 是以祖鲁 (utc) 时间还是在某些当地时区表示的?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-11-09
    • 1970-01-01
    • 2011-07-05
    • 1970-01-01
    • 2016-01-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多