Author: jonesde
Date: Fri Jun 18 20:36:23 2010
New Revision: 956123
URL:
http://svn.apache.org/viewvc?rev=956123&view=revLog:
Small change to make the date/time format more consistent with added padding
Modified:
ofbiz/trunk/framework/images/webapp/images/calendarDateSelect/calendar_date_select.js
Modified: ofbiz/trunk/framework/images/webapp/images/calendarDateSelect/calendar_date_select.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/calendarDateSelect/calendar_date_select.js?rev=956123&r1=956122&r2=956123&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/calendarDateSelect/calendar_date_select.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/calendarDateSelect/calendar_date_select.js Fri Jun 18 20:36:23 2010
@@ -43,7 +43,7 @@ Date.prototype.toFormattedString = funct
var hour, str;
str = this.getFullYear() + "-" + Date.padded2(this.getMonth() + 1) + "-" + Date.padded2(this.getDate());
- if (include_time) { hour=this.getHours(); str += " " + this.getHours() + ":" + this.getPaddedMinutes() + ":" + this.getSeconds() + "." + this.getMilliseconds() }
+ if (include_time) { hour=this.getHours(); str += " " + Date.padded2(this.getHours()) + ":" + this.getPaddedMinutes() + ":" + Date.padded2(this.getSeconds()) + "." + this.getMilliseconds() }
return str;
}
/* mod end*/