Event_New API时区-是否接受Olson tz值? [英] Event_New API timezone - does it accept Olson tz values?

查看:74
本文介绍了Event_New API时区-是否接受Olson tz值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道该API是否接受时区字段的Olson tz标签,例如"America/Los_Angeles"吗?

Does anyone know if this API will accept Olson tz labels like "America/Los_Angeles" for the timezone field?

我正在使用以下API: http://developer.eventbrite.com/doc/事件/event_new/

I'm using this API: http://developer.eventbrite.com/doc/events/event_new/

关于时区的地方:

The event time zone in relation to GMT (e.g., "GMT+01″, "GMT+02″, "GMT-01″).

我从其他社区讨论中知道,这也将接受美国/太平洋"之类的价值观.

I know from other community discussion that this will also accept values like "US/Pacific".

我还查看了手动事件输入表单中的select下拉列表,这些值似乎是Olson tz标签.我只想知道是否有人可以确认这一点.通过API处理事件后,我将自己确认,但希望通过提前知道来节省时间.

I also took a look at the select dropdown in the manual event entry form, and the values appear to be Olson tz labels. I just want to know if anyone can confirm this. I'll confirm it myself once I get the event post working through the API, but would love to save time by knowing ahead of time.

谢谢!

推荐答案

是的,输入中允许使用Olson tz标签,并且现在是该字段的默认输出格式.

Yes, Olson tz labels are allowed on input, and are now the default output format for that field.

以前的时区输入值("GMT + 8",美国/太平洋","PT"等)仍然允许,并且现在会自动重新映射为与Olson兼容的等效值(美国/洛杉矶" ).

The previous timezone input values ('GMT+8', 'US/Pacific', 'PT', etc.) are still allowed, and are now automatically remapped to their Olson-compatible equivalent ('America/Los Angeles') on input.

这篇关于Event_New API时区-是否接受Olson tz值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆