Finian826
Posts: 29
|
Posted: 07/28/2005, 9:44 AM |
|
Good day,
I was just going through the date picker java source and have notice alot of the string composition for the time part has been commented out and substituted with just zero's.
Is there any harm in removing the zero's and putting the functions that were commented out back into the mix of things. I would prefer the date picker to produce the current time as well based on the date mask that is sent to the script.
Below is a small list of what I have seen:
case "h":
resultArray = "0";//get12Hour(dateToFormat.getHours());
break;
case "H":
resultArray = "0";//dateToFormat.getHours();
break;
case "n":
resultArray = "00";//dateToFormat.getMinutes();
break;
case "s":
resultArray = "00";//dateToFormat.getSeconds();
break;
Terry
|
|
|
|