mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 07:16:03 +00:00
RESIDENTStk: fix array
git-svn-id: https://svn.fhem.de/fhem/trunk@13851 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e5bb860335
commit
a8c40cf41e
@ -1671,7 +1671,7 @@ sub RESIDENTStk_sec2time($) {
|
||||
|
||||
sub RESIDENTStk_time2sec($) {
|
||||
my ($s) = @_;
|
||||
my @time = split /:/, $s;
|
||||
my @t = split /:/, $s;
|
||||
$t[2] = 0 unless ( $t[2] );
|
||||
|
||||
return $t[0] * 3600 + $t[1] * 60 + $t[2];
|
||||
|
Loading…
x
Reference in New Issue
Block a user