Azure Web应用程序服务时区更改问题 [英] Azure web app service time zone change issue
本文介绍了Azure Web应用程序服务时区更改问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们正在将azure Web应用程序服务用于多租户应用程序.但是应用服务的默认时区是UTC,我只想更改该地区的时区.
We are using azure web app service for multi tenant application. But default time zone of app service is UTC taking i want to change that time zone for that region only.
我在应用程序设置中尝试了WEB_TIMEZONE变量,但无法正常工作.
I have tried WEB_TIMEZONE variable in app setting but not working.
推荐答案
您正在设置错误的变量.您需要在Application settings
中设置WEBSITE_TIME_ZONE
变量.
要查看支持的时区值,请参见此
You are setting wrong variable. You need to set WEBSITE_TIME_ZONE
variable in Application settings
.
To see supported timezone values see this
要验证偏移量是否已更新,请导航至Console
并执行time
命令
To verify that whether offset is updated or not navigate to Console
and execute time
command
这篇关于Azure Web应用程序服务时区更改问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文