mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Problem in calculating holidays occuring on the first sunday of the month.
This commit is contained in:
parent
e576acde26
commit
57d92423a8
@ -17,7 +17,8 @@ class holidaycalc {
|
|||||||
|
|
||||||
function calculate_date($holiday, &$holidays, $year, $datetime, &$i)
|
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)
|
if($holiday['occurence'] != 99)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user