You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2009/06/03 23:31:24 UTC
svn commit: r781589 -
/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/date/AbstractHtmlInputDate.java
Author: lu4242
Date: Wed Jun 3 21:31:23 2009
New Revision: 781589
URL: http://svn.apache.org/viewvc?rev=781589&view=rev
Log:
change tabs to spaces
Modified:
myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/date/AbstractHtmlInputDate.java
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/date/AbstractHtmlInputDate.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/date/AbstractHtmlInputDate.java?rev=781589&r1=781588&r2=781589&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/date/AbstractHtmlInputDate.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/date/AbstractHtmlInputDate.java Wed Jun 3 21:31:23 2009
@@ -135,13 +135,13 @@
}
//There are this types: date | time | short_time | both | full
if(! (type.equals( "time" ) || type.equals( "short_time" )) ) {
- //Set day, month and year for type date, both, full
+ //Set day, month and year for type date, both, full
tempCalendar.set(Calendar.DAY_OF_MONTH,Integer.parseInt(day));
tempCalendar.set(Calendar.MONTH,Integer.parseInt(month)-1);
tempCalendar.set(Calendar.YEAR,Integer.parseInt(year));
if( type.equals("date") ) {
- //Reset hour, minute, second and milisecond to type date
+ //Reset hour, minute, second and milisecond to type date
tempCalendar.set(Calendar.HOUR_OF_DAY, 0);
tempCalendar.set(Calendar.MINUTE, 0);
tempCalendar.set(Calendar.SECOND, 0);