MicrosoftDocs / AdaptiveCards

Docs for Adaptive Cards
https://docs.microsoft.com/en-us/adaptive-cards/
Creative Commons Attribution 4.0 International
72 stars 138 forks source link

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

Open noumanfarooq566 opened 1 year ago

noumanfarooq566 commented 1 year ago

[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 tried with changing MS teams application language doesn't work either that way. I'm referencing to this article https://learn.microsoft.com/en-us/adaptive-cards/authoring-cards/text-features { "$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 } ] }]


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.