Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
any
Description
Implement to parse the submitted seconds seems to be forgotten.
I have patched this, the diff follows:
Index: src/java/org/apache/myfaces/custom/date/HtmlInputDate.java
===================================================================
— src/java/org/apache/myfaces/custom/date/HtmlInputDate.java (Revision 292164)
+++ src/java/org/apache/myfaces/custom/date/HtmlInputDate.java (Arbeitskopie)
@@ -209,6 +209,7 @@
tempCalendar.set(Calendar.YEAR,Integer.parseInt(year));
tempCalendar.set(Calendar.HOUR_OF_DAY,Integer.parseInt(hours));
tempCalendar.set(Calendar.MINUTE,Integer.parseInt(minutes));
+ tempCalendar.set(Calendar.SECOND,Integer.parseInt(seconds));
return tempCalendar.getTime();
}