Details
Description
Commit 1626419 changed htmlFormMacroLibrary.ftl renderDateTimeField to use Date.parse instead of Date.parseExact.
https://code.google.com/p/datejs/wiki/APIDocumentation states Date.parse will use current CultureInfo for formats but for parsing ISO yyyy-MM-dd from hidden field, need to use parseExact.
I spotted this when CultureInfo was en-GB and selecting 2014-11-01 on any date field (i18n field displays 11/01/2014 instead of 01/11/2014)
For November all days after the 12th display correctly
Attachments
Attachments
Issue Links
- is broken by
-
OFBIZ-5773 <@htmlTemplate.renderDateTimeField> icon buttons disappear on some pages after refresh
- Closed
- is duplicated by
-
OFBIZ-5796 Date picker french format switch month and day
- Closed
- relates to
-
OFBIZ-5883 jQuery datetimepicker popup time value is not set correctly from an existing value
- Closed