Html 链接到OWA日历-传递时区
我正在尝试预先填充Microsoft OWA的创建事件链接。 这项工作:Html 链接到OWA日历-传递时区,html,hyperlink,outlook-web-app,outlook-calendar,Html,Hyperlink,Outlook Web App,Outlook Calendar,我正在尝试预先填充Microsoft OWA的创建事件链接。 这项工作: https://outlook.live.com/owa/ ?path=/calendar/action/compose &subject=TestEvent &location=testlocation &startdt=2018-02-29T19:00:00 &enddt=2018-02-29T20:00:00 &body=Test
https://outlook.live.com/owa/
?path=/calendar/action/compose
&subject=TestEvent
&location=testlocation
&startdt=2018-02-29T19:00:00
&enddt=2018-02-29T20:00:00
&body=Testtext+my+test+text
但由于某种原因,我没有找到设置时区的方法。
有没有办法设置startdt
和enddt
的时区
我已经尝试在日期上添加一个Z,因为这在Yahoo和Google日历链接中起作用(它告诉应用程序时区是UTC)。我也无法发现如何为OWA日历事件链接设置时区。但是,我发现您可以在链接中指定UTC偏移值。不过,这种方法有两个缺点。第一个缺点是,由于UTC偏移量发生变化,您必须考虑到您所在地区的夏令时。第二,终端用户需要正确设置时区,以便查看正确的时间
如何指定链接内的UTC偏移量是通过将偏移量添加到
startdt
和enddt
参数的末尾,格式为+或-hh:mm。例如,假设该活动定于3月27日下午3点在东部标准时区举行。在美国,夏时制在3月27日生效,因此美国东部的UTC偏移量为-4。然后,startdt
参数应为2018-03-27T15:00:00-04:00
。enddt
参数也是如此。嘿,显然默认情况下它是utc,它会自动计算owa用户的时区。谢谢你的回答!