Microsoft Teams DATE 和 TIME 函数未在 MS Teams 桌面上的自适应卡片中显示本地化的日期/时间格式

问题描述 投票:0回答:0

我有以下自适应卡

{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
    {
        "type": "TextBlock",
        "text": "Your package will arrive on {{DATE(2017-02-14T06:00:00Z, SHORT)}} at {{TIME(2017-02-14T06:00:00Z)}}",
        "wrap": true
    }
]
}

参考:https://learn.microsoft.com/en-us/adaptive-cards/authoring-cards/text-features

当我在浏览器上运行 MS Teams 并更改浏览器语言时,它会以本地化格式正确显示日期/时间,但是当我在本地更改时区时,MS Teams 的桌面应用程序不会以本地化格式显示日期/时间

botframework microsoft-teams chatbot adaptive-cards
© www.soinside.com 2019 - 2024. All rights reserved.