mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 10:46:53 +00:00
57_SSCal: contrib 2.4.0
git-svn-id: https://svn.fhem.de/fhem/trunk@21970 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
87d993664f
commit
c29490b974
@ -1718,11 +1718,7 @@ sub extractEventlist { ## no critic 'complexi
|
||||
} elsif ($p1 eq "UNTIL") { # festes Intervallende angegeben
|
||||
$until = $p2;
|
||||
$until =~ s/[-:]//gx;
|
||||
(undef,undef,undef,undef,$uets,undef) = explodeDateTime ($hash, $until, 0, 0, 0);
|
||||
if ($uets < $tstart) {
|
||||
Log3($name, 4, "$name - Ignore recurring event -> $data->{data}{$key}[$i]{summary} , interval end \"$nedate $netime\" is less than selection start \"$datetimestart\"");
|
||||
$ignore = 1;
|
||||
}
|
||||
$uets = (explodeDateTime ($hash, $until, 0, 0, 0))[4];
|
||||
} elsif ($p1 eq "BYMONTHDAY") { # Wiederholungseigenschaft -> Tag des Monats z.B. 13 (Tag 13)
|
||||
$bymonthday = $p2;
|
||||
} elsif ($p1 eq "BYDAY") { # Wiederholungseigenschaft -> Wochentag z.B. 2WE,-1SU,4FR (kann auch Liste bei WEEKLY sein)
|
||||
@ -1730,6 +1726,11 @@ sub extractEventlist { ## no critic 'complexi
|
||||
}
|
||||
}
|
||||
|
||||
if (defined $uets && $uets < $tstart) {
|
||||
Log3($name, 4, "$name - Ignore recurring event -> $data->{data}{$key}[$i]{summary} , interval end \"$nedate $netime\" is less than selection start \"$datetimestart\"");
|
||||
$ignore = 1;
|
||||
}
|
||||
|
||||
$count = $count ? $count : 9999999; # $count "unendlich" wenn kein COUNT angegeben
|
||||
$interval = $interval ? $interval : 1;
|
||||
$bymonthday = $bymonthday ? $bymonthday : "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user