rem: var vDay = addZero(vDate.getDate()); var vMonth = addZero(vDate.getMonth()+1); var vYearLong = addZero(vDate.getFullYear()); var vYearShort = Log4js.Util.addZero(vDate.getFullYear().toString().substring(3,4)); 
add: var vDay = this.addZero(vDate.getDate()); var vMonth = this.addZero(vDate.getMonth()+1); var vYearLong = this.addZero(vDate.getFullYear()); var vYearShort = this.addZero(vDate.getFullYear().toString().substring(3,4)); 
context: 	formatDate : function(vDate, vFormat) {	  var vDay = addZero(vDate.getDate());	  var vMonth = addZero(vDate.getMonth()+1);	  var vYearLong = addZero(vDate.getFullYear());	  var vYearShort = Log4js.Util.addZero(vDate.getFullYear().toString().substring(3,4));	  var vYear = (vFormat.indexOf("yyyy")>-1?vYearLong:vYearShort);	  var vHour  = addZero(vDate.getHours());	  var vMinute = addZero(vDate.getMinutes());	  var vSecond = addZero(vDate.getSeconds());	  var vTimeZone = O(vDate);	  var vDateString = vFormat.replace(/dd/g, vDay).replace(/MM/g, vMonth).replace(/y{1,4}/g, vYear);	  vDateString = vDateString.replace(/hh/g, vHour).replace(/mm/g, vMinute).replace(/ss/g, vSecond);	  vDateString = vDateString.replace(/O/g, vTimeZone)	  return vDateString	},
meta: 8932	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8932/f526bb9863fd46c554c216bca02d40198da13e02/log4js.js/buggy/trunk/src/js/log4js.js