Some improvements on the holiday system (#32329)
This commit is contained in:
committed by
CitadelStationBot
parent
910e6b6396
commit
3772d722e2
@@ -33,7 +33,7 @@
|
||||
if(!end_month)
|
||||
end_month = begin_month
|
||||
if(begin_week && begin_weekday)
|
||||
if(begin_week == ww && begin_weekday == ddd)
|
||||
if(begin_week == ww && begin_weekday == ddd && begin_month == mm)
|
||||
return TRUE
|
||||
if(end_month > begin_month) //holiday spans multiple months in one year
|
||||
if(mm == end_month) //in final month
|
||||
|
||||
Reference in New Issue
Block a user