forked from extern/egroupware
Fix for holiday calculator for US.
This commit is contained in:
parent
01e19687ef
commit
a2c95c9994
@ -27,7 +27,7 @@ class holidaycalc {
|
||||
}
|
||||
else
|
||||
{
|
||||
$ld = $datetime->days_in_month($holiday['month'],$this->year);
|
||||
$ld = $datetime->days_in_month($holiday['month'],$year);
|
||||
$dow = $datetime->day_of_week($year,$holiday['month'],$ld);
|
||||
$day = $ld - ($dow - $holiday['dow']) % 7 ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user