Why does MS Teams Date and Time functions on adaptive card doesn't pick the timezone in MS Teams Desktop and show localized time

Nouman Farooq 6 Reputation points

I have following adaptive card
So when i change browser language it show the date and time and localized format but when i change my system's timezone locally it doesn't show me the date and time in localized format
I'm referencing to this article

    "$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

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
7,670 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,382 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sayali-MSFT 2,086 Reputation points Microsoft Vendor

    This is byDesign Behavior.
    We use the localization date/time format of the language selected in the Teams desktop app, not the local desktop. This is by design.

    If the developer switches the language of their app, then the date and time format should be aligned with the country of origin.