AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

[BotFramework] Different date format for Date Input

Open wal88 opened this issue 7 years ago • 6 comments

What platform is your feature request related to? (Delete other platforms).

  • .NET HTML
  • Android
  • iOS

Is your feature request related to a problem? Please describe. MM/dd/yyyy is not the typical format for many countries. I would like to change it to dd/MM (at least when displaying to users)

Describe the solution you'd like An attribute to allow format change of displayed date. Otherwise a boolean attribute to toggle to "dd/MM/yyyy" format

Describe alternatives you've considered a boolean attribute to toggle to "dd/MM/yyyy" format will suffice as well

Additional context Could not find it in the Designer or Schema

wal88 avatar Nov 14 '19 12:11 wal88

@paulcam206 we should consider this for all up inconsistency. It seems like the date picker should be rendered with the users locale, as opposed to the card author specifying it. We also have the lang attribute on the AdaptiveCard but I'm not sure if that applies here or if it's even used for Input.Date

matthidinger avatar Nov 25 '19 19:11 matthidinger

As a side note, the AdaptiveTimeInput renders to 12hour or 24hour format based on user's system settings

walsaadysixco avatar Dec 08 '19 13:12 walsaadysixco

This issue has been automatically marked as stale because it has not had any activity for 5 days.

ghost avatar Dec 13 '19 18:12 ghost

Hello all,

We are also facing the same issue, Is there any workaround for this?

After selecting the value from the date picker, we would like to show a different format than May 28, 2019 in Teams desktop.

Please find the screenshot.

MicrosoftTeams-image

Thanks.

Chekrii avatar May 28 '20 16:05 Chekrii

Thanks for looking into this stale issue Chekrii; Resetting staleness. @wal88 FYI.

ghost avatar May 28 '20 16:05 ghost

Fixing this issue is not currently on our roadmap. Feel free to continue the conversation on this issue. If you feel strongly about this issue, please let us know and we can reevaluate.

paulcam206 avatar Jan 20 '22 21:01 paulcam206