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

查看:35
本文介绍了Azure Web 应用服务时区更改问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在为多租户应用程序使用 azure Web 应用服务.但应用服务的默认时区是 UTC,我只想更改该地区的时区.

我已在应用设置中尝试了 WEB_TIMEZONE 变量,但无法正常工作.

解决方案

你设置了错误的变量.您需要在 Application settings 中设置 WEBSITE_TIME_ZONE 变量.要查看支持的时区值,请参阅

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

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.

I have tried WEB_TIMEZONE variable in app setting but not working.

解决方案

You are setting wrong variable. You need to set WEBSITE_TIME_ZONE variable in Application settings. To see supported timezone values see this

To verify that whether offset is updated or not navigate to Console and execute time command

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

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

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