Azure Web应用程序服务时区更改问题 [英] Azure web app service time zone change issue

查看:142
本文介绍了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

参考: https://kvaes.wordpress.com/2017/01/24/changing-the-timezone-on-your-azure-webapp-app-service-function/

这篇关于Azure Web应用程序服务时区更改问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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