We were able to repro the issue. We have raised a bug and the concerned team is looking into it.
The same issue is raised on github and you can track it for future updates
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Original Issue posted here: https://github.com/microsoft/botbuilder-js/issues/3861
This is a Teams specific bug I believe, sorry for filing it here, could somebody please forward it? Thank you.
Versions
SDK 4.13
nodejs 12.16
Describe the bug
When the Teams client is set to Chinese or Korean the Input.Time in an adapative card is localized, 2:30pm in Chinese is "2:30 下午". The value of the Input.Time upon submitting the card to the bot should be 14:30 but instead it is 02:30 (am!). It works fine for US style 2:30pm notation, where the value is 14:30.
To Reproduce
Set your Teams client to Chinese or Korean.
The bot sends an adaptive card with an Input.Time and a submit button
Set a time in the afternoon, like 2:30 下午
Submit the card
The bot receives '02:30' in the submitAction
Expected behavior
The bot should always receive 24 hr time, 14:30 in the example above.
We were able to repro the issue. We have raised a bug and the concerned team is looking into it.
The same issue is raised on github and you can track it for future updates
I just tried it again, it seems to have been fixed