用于检索VSO时区信息的API [英] API to Retrieve VSO Time Zone information
问题描述
是否有任何API或库或其他方法可用于检索我们在"设置"下看到的实际时区 - > VisualStudio主页中的帐户。你能帮忙吗?
请注意,使用ReST API检索时间戳总是以UTC为单位。
谢谢,
Nalini
嗨Nalini Natartjan,
感谢您在此发帖。
您使用的是Visual Studio Team Service还是Team Foundation Server?据我所知,您可以使用以下rest api获取配置文件,然后时间戳包含在响应中:
https://www.visualstudio.com/en-us/docs/integrate/api/shared/profiles
最好的问候
Is there any API or library or other ways available to retrieve the actual Time Zone we see under Settings - > Accounts in VisualStudio home page. Can you please help?
Notice that time stamp is always in UTC when retrieved using ReST API.
Thanks,
Nalini
Hi Nalini Natartjan,
Thank you for posting here.
Did you use Visual Studio Team Service or Team Foundation Server? As I known, you could use the following rest api to get the profile, then timestamp is included in the response:
https://www.visualstudio.com/en-us/docs/integrate/api/shared/profiles
Best Regards
这篇关于用于检索VSO时区信息的API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!