ok, i think we're done with the stupid mistakes here :) (i hope so)

SVN revision: 5933
This commit is contained in:
bdsabian 2002-02-13 09:55:20 +00:00 committed by bdsabian
parent 55f5d03b2f
commit 3f4ec34adf
1 changed files with 1 additions and 2 deletions

View File

@ -22,11 +22,10 @@ function clock_update(object data, number val){
string timeofday = "AM";
if(hour > 12 || hour==12){
/* if(hour >= 12){*/
timeofday = "PM";
hour -= 12;
}
else if(hour==0) hour = 12;
if(hour==0) hour = 12;
data.setText(""+hour+" "+min+" "+seconds+" "+timeofday);
epp.addTimer("clockTimer",0.5,"clock_update",0,data);