Details
-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Icefaces 4 from trunk
Description
ace:dattimeEntry do not handle custom pattern on javascript side.
and gives and error
{noformat}
Error parsing the date string: Extra/unparsed characters found in date: 17:30
date string = 2015-01-31 17:30
date format = yy-mm-dd
{noformat}
from line /jquery-ui-timepicker-addon.js.iface?ln=icefaces.ace
{noformat}
$.timepicker.log("Error parsing the date string: " + err + "\ndate string = " + value + "\ndate format = " + format);
{noformat}
code
<ace:dateTimeEntry renderAsPopup="true" popupIconOnly="true" showOn="button" pattern="#{yy-mm-dd hh:mm}" />
and gives and error
{noformat}
Error parsing the date string: Extra/unparsed characters found in date: 17:30
date string = 2015-01-31 17:30
date format = yy-mm-dd
{noformat}
from line /jquery-ui-timepicker-addon.js.iface?ln=icefaces.ace
{noformat}
$.timepicker.log("Error parsing the date string: " + err + "\ndate string = " + value + "\ndate format = " + format);
{noformat}
code
<ace:dateTimeEntry renderAsPopup="true" popupIconOnly="true" showOn="button" pattern="#{yy-mm-dd hh:mm}" />