Problem in calculating holidays occuring on the first sunday of the month.

This commit is contained in:
skeeter 2001-12-04 02:38:29 +00:00
parent e576acde26
commit 57d92423a8

View File

@ -17,7 +17,8 @@ class holidaycalc {
function calculate_date($holiday, &$holidays, $year, $datetime, &$i)
{
if($holiday['day'] == 0 && $holiday['dow'] != 0 && $holiday['occurence'] != 0)
// if($holiday['day'] == 0 && $holiday['dow'] != 0 && $holiday['occurence'] != 0)
if($holiday['day'] == 0 && $holiday['occurence'] != 0)
{
if($holiday['occurence'] != 99)
{