microsoft / microsoft/AdaptiveCards
[Rendering] DATE formatting does not render in other display languages
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Target Platforms
UWP, Other
SDK Version
AdaptiveCards.Rendering.Uwp, AdaptiveCards.Rendering.WinUI3 v 3.2.8
Application Name
Windows Widgets
Problem Description
When using SHORT or LONG with DATE formatting, the adaptive card is unable to render in other languages. Repro steps:
- Create adaptive card test app
- Switch display language to simplified Chinese (also tested with Spanish, Russian)
- Render payload using {{DATE(2025-10-18T14:00:00Z, SHORT)}}
I tested using different AdaptiveCards.Rendering.Uwp versions and it worked fine in version 1.2.11, and stopped working with version 2.0.0.
Screenshots
Card JSON
{
"type": "AdaptiveCard",
"version": "1.1",
"id": "DateTest",
"height": "stretch",
"body": [
{
"type": "TextBlock",
"weight": "bolder",
"text": "{{DATE(2025-10-18T14:00:00Z, SHORT)}}"
}
]
}
Sample Code Language
No response
Sample Code
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in AdaptiveCards.Rendering.Uwp or AdaptiveCards.Rendering.WinUI3 v3.2.8 with the provided DATE payload and a non-English Windows display language. Compare the behavior with version 1.2.11 and 2.0.0; done means SHORT and LONG date formatting renders correctly in Simplified Chinese, Spanish, and Russian.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop, localization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100