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

Google calendar api 雅虎日历结束时间不考虑时区,google-calendar-api,yahoo-mail,Google Calendar Api,Yahoo Mail,我创建了一个Yahoo日历链接,它似乎不尊重截止日期的时区: 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%20P

我创建了一个Yahoo日历链接,它似乎不尊重截止日期的时区:

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:00至7:00。我所在的时区是美国东部时间GMT-4:00,所以17:00:00(又名5:00)-4小时=下午1:00。但是对于结束时间,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:00到下午3:00的日期。据我所知,Yahoo日历不支持
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%2016%20St%20Ste%20150%20Pavilion%20All%2C%20Denver%2C%20CO%2080202%2C%20United%20States&desc=


有关支持的参数的更多信息,请参阅或。

Perfect!这正是我所需要的。虽然你的活动持续时间有限制,但不能从99小时99分通过…:/计算“持续时间”而不是仅仅指定结束时间是多么痛苦。谷歌就是这样做的。雅虎甚至在开始时间也不按时区工作。在上面的URL中,开始时间是UTC下午5点,因此它应该根据本地时区自动更改,但目前没有发生。Yahoo--。它有点工作,这是最糟糕的工作。