fix condition
This commit is contained in:
@ -1030,7 +1030,7 @@ sub IsAdv {
|
||||
&& $FHEM::Automation::ShuttersControl::ascDev->getAdvEndDate eq
|
||||
'CandlemasDay' )
|
||||
{
|
||||
$adv = $monthday < 3 ? 1 : 0;
|
||||
$adv = $month = 1 || ( $month = 2 && $monthday < 3 ) ? 1 : 0;
|
||||
}
|
||||
else {
|
||||
my $time = str2time( $year . '-12-25' );
|
||||
|
Reference in New Issue
Block a user