我设置的时区被 Outlook 忽略。
这是我的 .ics 文件:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//TEST//iCal4j 1.0//EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
DTSTAMP:20170208T135427Z
DTSTART;TZID=Asia/Tehran:20170124T043000
DTEND;TZID=Asia/Tehran:20170131T041000
SUMMARY:Test Event
TZID:Asia/Tehran
LOCATION: Zurich, Switzerland
DESCRIPTION:Lorem ipsum
CALSCALE:GREGORIAN
URL:www.google.ch
UID:20170208T135430Z-uidGen@192.168.43.131
END:VEVENT
END:VCALENDAR
有什么想法为什么 Outlook 中不显示时区吗?
最佳答案
您的 iCalendar 对象没有 VTIMEZONE 组件。
关于java - iCal4J 生成的 Outlook 无法识别 .ics 文件中的时区,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42115355/