-
Bug
-
Resolution: Fixed
-
Neutral
-
5.5.5
-
None
-
-
Empty show more show less
-
Saigon 103
-
3
It is easy to reproduce:
Configure defaultValue for DateField with time enabled
fields:
time: true
defaultValue: 2017-10-31 12:30
The field displays 2017-10-31 00:00.
Expected: Display as configured: 2017-10-31 12:30
Investigate point:
info.magnolia.ui.vaadin.integration.jcr.DefaultPropertyUtil#createTypedValue(java.lang.Class<?>, java.lang.String) return new SimpleDateFormat(DateUtil.YYYY_MM_DD).parse(defaultValue); => it ignores the configured time format
Acceptance criteria