我们正在使用 Azure Web 应用程序服务进行多租户应用程序。但应用程序服务的默认时区是 UTC,我只想更改该地区的时区。
我已经在应用程序设置中尝试了 WEB_TIMEZONE 变量,但不起作用。
You are setting wrong variable. You need to set WEBSITE_TIME_ZONE
variable in Application settings
.
To see supported timezone values see this http://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/
To verify that whether offset is updated or not navigate to Console
and execute time
command
参考:
https://kvaes.wordpress.com/2017/01/24/changing-the-timezone-on-your-azure-webapp-app-service-function/ https://kvaes.wordpress.com/2017/01/24/changing-the-timezone-on-your-azure-webapp-app-service-function/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)