74_AutomowerConnect: call timelocal in package

git-svn-id: https://svn.fhem.de/fhem/trunk@27637 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Ellert
2023-06-01 08:18:04 +00:00
parent c0b5f22e6d
commit 0cb78feafe

View File

@@ -245,7 +245,7 @@ sub APIAuthResponse {
$tim[ 0 ] = 0; $tim[ 0 ] = 0;
$tim[ 1 ] = 0; $tim[ 1 ] = 0;
$tim[ 2 ] = 1; $tim[ 2 ] = 1;
$expire = ::timelocal( @tim ); $expire = timelocal( @tim );
} }
$hash->{helper}{auth}{expires} = $expire; $hash->{helper}{auth}{expires} = $expire;