microsoft / microsoft/AdaptiveCards

[Rendering] DATE formatting does not render in other display languages

Open
#9,272 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Renderers Bug
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:

  1. Create adaptive card test app
  2. Switch display language to simplified Chinese (also tested with Spanish, Russian)
  3. 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
Image
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.