gpt4 book ai didi

google-calendar-api - 雅虎日历结束时间不考虑时区

转载 作者:行者123 更新时间:2023-12-04 19:44:31 28 4
gpt4 key购买 nike

我已经创建了 Yahoo Calender 链接,它似乎没有遵守结束日期的时区:

https://calendar.yahoo.com/?v=60&TITLE=Chapter%20Luncheon%20-%20CO%20-&ST=20151022T170000Z&ET=20151022T190000Z&URL=tma.utdev.com&in_loc=Maggiano%27s%20Little%20Italy%20500%2016th%20St%20Ste%20150%20Pavilions%20Mall%2C%20Denver%2C%20CO%2080202%2C%20United%20States&desc=

这会显示 1:00PM 到 7:00PM。我在 EST 时区,即 GMT-4:00,所以 17:00:00(又名 5:00)- 4 小时 = 1:00 PM。但是对于结束时间,19:00:00 (7:00),它不转换并在 7:00 离开它

对于谷歌它确实有效:
https://www.google.com/calendar/render?action=TEMPLATE&text=Chapter+Luncheon+-+CO+-&dates=20151022T170000Z/20151022T190000Z&sprop=website:tma.utdev.com&location=Maggiano%27s+Little+Italy+500+16th+St+Ste+150+Pavilions+Mall,+Denver,+CO+80202,+United+States&details&website=http://tma.utdev.com/event/chapter-luncheon-co&pli=1&sf=true&output=xml#eventpage_6

这将显示 1:00PM 到 3:00PM 的日期

最佳答案

据我所知,雅虎日历不支持 ET范围。 (如果是这样,它是无证的和有问题的)。因此,我建议使用 DUR参数来指定持续时间:
https://calendar.yahoo.com/?v=60&TITLE=Chapter%20Luncheon%20-%20CO%20-&ST=20151022T170000Z&DUR=0200&URL=tma.utdev.com&in_loc=Maggiano%27s%20Little%20Italy%20500%2016th%20St%20Ste%20150%20Pavilions%20Mall%2C%20Denver%2C%20CO%2080202%2C%20United%20States&desc=
http://chris.photobooks.com/tests/calendar/Notes.htmlhttp://taskboy.com/blog/Creating_events_for_Yahoo_and_Google_calendars.html有关支持的参数的更多信息。

关于google-calendar-api - 雅虎日历结束时间不考虑时区,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32720644/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com