From bf8742847c2b050bde592b5bf8c26feeb75136b2 Mon Sep 17 00:00:00 2001 From: Ellert <> Date: Thu, 1 Jun 2023 08:18:04 +0000 Subject: [PATCH] 74_AutomowerConnect: call timelocal in package git-svn-id: https://svn.fhem.de/fhem/trunk@27637 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/74_AutomowerConnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/74_AutomowerConnect.pm b/fhem/FHEM/74_AutomowerConnect.pm index 4c55d5b93..28a959bfe 100644 --- a/fhem/FHEM/74_AutomowerConnect.pm +++ b/fhem/FHEM/74_AutomowerConnect.pm @@ -245,7 +245,7 @@ sub APIAuthResponse { $tim[ 0 ] = 0; $tim[ 1 ] = 0; $tim[ 2 ] = 1; - $expire = ::timelocal( @tim ); + $expire = timelocal( @tim ); } $hash->{helper}{auth}{expires} = $expire;