mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 07:01:19 +00:00
Correcting error in InLeapYear() function.
This commit is contained in:
parent
2d07cee32a
commit
bc9dcf60de
@ -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 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user