🗓️

Google Calendarのical/ics形式はORGANIZERに注意

2022/12/24に公開

Google Calendarのical/ics形式でORGANIZERを設定するときは、mailtoパラメータが欠損しているとエラーで読み込めないようです。注意。

ダメな例

BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:adamgibbons/ics
METHOD:PUBLISH
X-WR-CALNAME:Example Calendar
X-PUBLISHED-TTL:PT1H
BEGIN:VEVENT
UID:N-51iY6y9LI7GWppwXDm6
SUMMARY:Test Event
DTSTAMP:20221223T154900Z
DTSTART:20230106T020000Z
DESCRIPTION:Example Event
LOCATION:Japan
ORGANIZER;CN=Hibikine Kage
CREATED:20221223T070600Z
LAST-MODIFIED:20221223T070600Z
DURATION:PT1H
END:VEVENT
END:VCALENDAR

良い例

BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:adamgibbons/ics
METHOD:PUBLISH
X-WR-CALNAME:Example Calendar
X-PUBLISHED-TTL:PT1H
BEGIN:VEVENT
UID:N-51iY6y9LI7GWppwXDm5
SUMMARY:Test Event
DTSTAMP:20221223T154900Z
DTSTART:20230106T020000Z
DESCRIPTION:Example Event
LOCATION:Japan
ORGANIZER;CN=Hibikine Kage:mailto:example@example.com
CREATED:20221223T070600Z
LAST-MODIFIED:20221223T070600Z
DURATION:PT1H
END:VEVENT
END:VCALENDAR

参考資料

RFC5545 Internet Calendaring and Scheduling Core Object Specification (iCalendar) - 3.8.4.3. Organizer

Discussion

ログインするとコメントできます