-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.X
-
Fix Version/s: 7.2.10 DXP FP9, 7.2.X
-
Component/s: Forms
-
Labels:
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:4
-
Git Pull Request:
Reproduction Steps:
- Set up DXP 7.2, start and log in as admin - make sure to use default locale '/en'
- At Content / Forms, create a new Form with a date field and set '09/12/2020' (mm/dd/yy) as predefined value.
- Add Forms portlet to a test page and configure it displaying the new form
- Observe the form is correctly displayed with predefined value of today's date
- Change user locale to '/de' and reload the test page
Actual behavior:
The date is displayed as (mm.dd.yy) instead of (dd.mm.yy)
Expected behavior:
The date is displayed correctly -> 12.09.2020
Reproduced on:
7.2.x@f8b430bde200adf6e31fc58dc72d9d346a85e53b
Not reproducible on:
master-private@5b40b5b7a0a805ded3391c0cc9fec5e3c1075707
The issue is not reproducible on master, as we rewrote DatePicker.js in React. This issue requires a unique 7.2.x fix