Chris Heinemann wrote:
> 
> Hi when the time is under ten minutes after the hour (eg 8:07)  the time
> doesn't show the "0".  Here is a straight forward fix.  (change the
> nice_now assignment to this (this is just after the switch statement)):
> 
>  nice_now += " " +
>                   now.get(java.util.Calendar.DAY_OF_MONTH) + " " +
>                   now.get(java.util.Calendar.YEAR) + " " +
>    now.get(java.util.Calendar.HOUR) + ":" ;
> 
>       int minute = now.get(java.util.Calendar.MINUTE);
> 
>       if (minute  < 10){
>    nice_now += "0";
>       }
> 
>       nice_now += minute+" ";
> 

(DONE)

Also, if you could post a .diff next time that would be cool.

Kevin

-- 
Kevin A Burton
Senior Software Engineer
Kendara Inc
http://www.kendara.com
Mobile:  408-910-6145
Linux - The revolution will NOT be televised


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to