2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

Cron.pm: wip

git-svn-id: https://svn.fhem.de/fhem/trunk@27878 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
herrmannj 2023-08-23 00:30:48 +00:00
parent aa03c8244f
commit bfae776561

View File

@ -410,7 +410,7 @@ sub _next_date {
# set of possible dates, based on the different methods
my @set;
# the mdays/months
# calendar
if (scalar @{$self->{list_of_mdays}}) {
# check if cached value can be used
if (($self->{working_date} and $self->{next_calender_date}) and
@ -422,7 +422,7 @@ sub _next_date {
push @set, $self->{next_calender_date} = $self->_next_calendar_date($from_date, $inclusive);
}
}
# weekday
if (scalar @{$self->{list_of_or_wdays}}) {
# check if cached value can be used
if (($self->{working_date} and $self->{next_weekday_date}) and