AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

Send error Date value to bot in Teams with Deutsch language setting

Open jessedemobot opened this issue 7 years ago • 2 comments

Platform

  • .NET HTML, Teams Desktop App

Author or host

I'm an author, and I'm sending cards to MS Teams

Version of SDK

NuGet 1.1.2.

Issue

Hi, we are developing a bot for MS Teams and using the Adaptive Cards. We have added an AdaptiveDateInput in the bot with a submit action. And the cards works well until we change the language of Teams to Deutsch.

When we set the language of Teams as Deutsch, submit action send a wrong data or even an empty value to our bot.

After doing some test, we suspect that the issue was cased by the wrong format of the Date value under Deutsch, the date value is not in ISO-8601 format. "March 1, 2019" will be sent as "2019-01-03" and "March 20, 2019" will be sent as empty. image

PS: The issue doesn't occurred in English and France, and Teams App in iOS also works well.

jessedemobot avatar Mar 21 '19 08:03 jessedemobot

Tracked by #2644

shalinijoshi19 avatar Jul 06 '19 00:07 shalinijoshi19

Closing this issue and tracking with #2644

shalinijoshi19 avatar Jul 06 '19 00:07 shalinijoshi19