mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
95_holiday.pm: fix buss und bettag 2017 (Forum #79571)
git-svn-id: https://svn.fhem.de/fhem/trunk@15433 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6f9268a388
commit
5cbde74aa1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user