Outlook日历未显示正确的时区时间?

时间:2018-12-10 15:22:32

标签: google-calendar-api icalendar outlook-calendar

我正在处理一个过程,在该过程中,我必须创建ics文件并通过电子邮件附件发送。该过程还包括“添加到日历”链接以在日历中添加事件。除Outlook外,所有链接都工作正常。 Outlook日历可能不会根据时区转换时间。 Gcal和yahoo日历显示正确的时间。这是Outlook的示例链接。

https://outlook.live.com/owa/?path=/calendar/view/Month&startdt=2018-12-08T10%3a00%3a00-05%3a00&enddt=2018-12-08T10%3a30%3a00-05%3a00&subject=Vein+Appointment+Confirmation&body=Vein+Clinics+of+America+Alexandria+Appointment&location=4900+Seminary+Road+Suite+100+Alexandria%2c+VA+22311
我还改变了展望的时区。我正在使用PKT时区。时间应根据时区在上午6点至上午6:30之间。而前景显示为晚上8:20到晚上8:50。 谢谢

1 个答案:

答案 0 :(得分:0)

Outlook日历将GET查询中的参数作为UTC时间进行处理,格式为YYYYMMDDTHHmmSS。您可以在这里找到更多信息:https://github.com/InteractionDesignFoundation/add-event-to-calendar-docs/blob/master/services/outlook-live.md(如果您知道更多,可以贡献自己的力量(这很容易))

相关问题