azure - Azure 上的时区问题 python function-app

标签 azure azure-functions azureportal azure-function-app

我通过标准服务计划运行多个 python 函数应用程序,但无法将时区更改为所需的值。我位于荷兰阿姆斯特丹,并将“WEBSITE_TIME_ZONE”更改为“西欧标准时间”,但所有时间戳仍晚两个小时。看起来这个“WEBSITE_TIME_ZONE”字段被完全忽略了。将其更改为其他随机值在我的情况下也没有任何作用。

有没有人能解决这个问题?

最佳答案

在 Linux 计划中,WEBSITE_TIME_ZONE 值基于 TZ 数据库条目 https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

对于西欧标准时间,等效的 TZ 值是欧洲/阿姆斯特丹。尝试将 WEBSITE_TIME_ZONE 设置为欧洲/阿姆斯特丹。

关于azure - Azure 上的时区问题 python function-app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64316818/

相关文章:

azure - 配置 Azure Web 服务器日志以匿名保存或根本不保存 IP

node.js - 未显示 Azure Web App/虚拟目录上的 Node 应用程序

javascript - 使用 Active Directory 身份验证在 JavaScript 中对 Azure API 应用程序进行 API 调用

azure - 重命名 Azure 函数

Azure AD B2C : Bad Request - Request Too Long HTTP Error 400. 请求 header 的大小太长。登录后

azure - 将 Microsoft 监控代理连接到 Azure Log Analytics (OMS) 'Service Connector, 4007'

Azure Function v1 中的 Azure 服务总线 session 支持

python - Azure Functions for python、结构化日志记录到 Application Insights?

azure - 如何在 Azure 门户中监视 Azure 数据同步过程

azure - 有没有办法在标准逻辑应用程序中获取特定工作流程的 azure 门户 URL?