fix bug then holidaywe for sunrise
This commit is contained in:
parent
1acd3e35da
commit
253853086e
@ -2083,10 +2083,9 @@ sub ShuttersSunrise($$$) {
|
|||||||
if (
|
if (
|
||||||
IsWe()
|
IsWe()
|
||||||
and int( gettimeofday() / 86400 ) == int(
|
and int( gettimeofday() / 86400 ) == int(
|
||||||
computeAlignTime(
|
computeAlignTime( '24:00',
|
||||||
'24:00', $shutters->getTimeUpWeHoliday
|
$shutters->getTimeUpWeHoliday ) / 86400
|
||||||
)
|
)
|
||||||
) / 86400
|
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
$shuttersSunriseUnixtime =
|
$shuttersSunriseUnixtime =
|
||||||
@ -2095,10 +2094,9 @@ sub ShuttersSunrise($$$) {
|
|||||||
}
|
}
|
||||||
elsif (
|
elsif (
|
||||||
int( gettimeofday() / 86400 ) == int(
|
int( gettimeofday() / 86400 ) == int(
|
||||||
computeAlignTime(
|
computeAlignTime( '24:00',
|
||||||
'24:00', $shutters->getTimeUpEarly
|
$shutters->getTimeUpEarly ) / 86400
|
||||||
)
|
)
|
||||||
) / 86400
|
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
$shuttersSunriseUnixtime =
|
$shuttersSunriseUnixtime =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user