mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
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