microsoft / microsoft/AdaptiveCards

[Feature Request] Input.Date control should return ISO Date format irrespective of platform

Open
#6,171 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Inconsistency Request
Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

What is the problem you are attempting to solve with this feature?

When sending the input of a Input.Date control from an actionable message card to the backend, the date is returned in a different format depending on that platform used. I have tried Web/desktop, Android Outlook app and Outlook desktop app, they all return different values making it difficult to process the value in a standardised way.

Details here on SO

A description of your proposed solution to the problem

Input.Date control should return the date in UTC ISO format: 2021-08-06T01:05:04.234Z

What alternatives or workarounds have you considered

Handling multiple possible date formats and try to deserialize to datetimeoffset manually.

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

Start by tracing the Input.Date control's date serialization across the Web/desktop, Android Outlook, and Outlook desktop paths described in the issue. Compare the values each platform returns and verify that the control consistently produces the requested UTC ISO format, including the expected timezone and precision.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend
Issue type
Feature
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.