Support Article
yyyyMMdd input value displays incorrectly in DateTime field
SA-88231
Summary
In the DateTime input field, the yyyyMMdd input value displays incorrectly.
- 20190814 > Today at 12:00 AM
- 20190813 > Yesterday at 12:00 AM
- 20190822 > 08/22/2019 in en_US locale setting
- 20190822 > 2019/08/22 in ja_JP locale setting
Section上に配置した日付のテキストエリアに、
画面上で'20190808'と入力すると、'Yesterday at AM 12:00'と表示されてしまう。
期待動作は"2019/08/08"とスラッシュ入りでフォーマットされること。
スラッシュを入れるフォーマットは、テキストエリアのRead-only formatのカスタムで設定済み(添付資料参照)。
Error Messages
特になし
Steps to Reproduce
- Create a section with a DateTime control field.
- Configure Presentation as 'Display mode' to display value using read-only formatting.
- Input a value (for example, 20190814)
- Press the Tab key.
Root Cause
Invalid format displays after Tab out when the Date was input as a string and a custom format was input as YYYY/MM/dd.
Resolution
Apply HFix-55931.
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.