fix Undefined subroutine str2time

Undefined subroutine &FHEM::Devices::LGTV::LGTVWebOS::str2time
called at lib/FHEM/Devices/LGTV/LGTVWebOS.pm
line 1042.

[Ticket: no]
This commit is contained in:
Marko Oldenburg 2022-02-08 07:18:13 +01:00
parent 7171c432c7
commit d96a6c1214
3 changed files with 4 additions and 4 deletions

View File

@ -367,7 +367,7 @@ __END__
],
"release_status": "stable",
"license": "GPL_2",
"version": "v3.6.0",
"version": "v3.6.1",
"author": [
"Marko Oldenburg <fhemdevelopment@cooltux.net>"
],

View File

@ -1,2 +1,2 @@
UPD 2022-02-02_15:53:36 18966 FHEM/82_LGTV_WebOS.pm
UPD 2022-02-03_09:05:40 54276 lib/FHEM/Devices/LGTV/LGTVWebOS.pm
UPD 2022-02-08_07:16:43 18966 FHEM/82_LGTV_WebOS.pm
UPD 2022-02-08_07:16:48 54278 lib/FHEM/Devices/LGTV/LGTVWebOS.pm

View File

@ -1040,7 +1040,7 @@ sub WriteProgramlistReadings {
for my $programList ( @{ $decode_json->{payload}{programList} } ) {
if (
str2time( FormartStartEndTime( $programList->{localEndTime} ) ) >
::str2time( FormartStartEndTime( $programList->{localEndTime} ) ) >
time() )
{
if ( $count < 1 ) {