95_holiday.pm: fix buss und bettag 2017 (Forum #79571)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15433 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-11-15 09:51:10 +00:00
parent b12f8aa32e
commit 0631f135da

View File

@ -175,7 +175,7 @@ holiday_refresh($;$$)
my $yday=$fd[7];
# create time object of target date - mktime counts months and their
# days from 0 instead of 1, so subtract 1 from each
my $tgt=mktime(0,0,1,$a[4]-1,$a[3]-1,$fd[5],0,0,-1);
my $tgt=mktime(0,0,1,$a[4],$a[3]-1,$fd[5],0,0,-1);
my $tgtmin=$tgt;
my $tgtmax=$tgt;
my $weeksecs=7*24*60*60; # 7 days, 24 hours, 60 minutes, 60seconds each