Correcting error in InLeapYear() function.

This commit is contained in:
pschwartau%netscape.com 2001-05-29 16:27:45 +00:00
parent 2d07cee32a
commit bc9dcf60de

View File

@ -305,7 +305,7 @@ function InLeapYear( t ) {
if ( DaysInYear(YearFromTime(t)) == 366 ) {
return 1;
} else {
return "ERROR: DayFromYear("+y+") case not covered";
return "ERROR: InLeapYear("+t+") case not covered";
}
}
function YearFromTime( t ) {