如何从Moment.js缩短时区名称列表?
我正在使用Moment.js库通过MOMM.TZ.NAMES()获取时区名称列表。但是此查询返回500多个选项的列表,这很多。是否有一些替代方法可以获取简短列表?我找不到文档中的答案。
I'm using the moment.js library to get a list of time zone names via moment.tz.names(). But this query returns a list of 500+ options, which is a lot. Is there some alternative way to get a short list? I couldn't find the answer in the documentation.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论