mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
57_Calendar.pm: minor bugfix from Forum #97350
git-svn-id: https://svn.fhem.de/fhem/trunk@18705 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c0e9996b63
commit
1a4f0796cd
@ -2269,9 +2269,9 @@ sub Calendar_GetSecondsFromTimeSpec($) {
|
||||
return ("", $1*86400);
|
||||
}
|
||||
|
||||
# seconds
|
||||
if($tspec =~ m/^[0-9]+s?$/) {
|
||||
return ("", $tspec);
|
||||
# seconds
|
||||
if($tspec =~ m/^([0-9]+)s?$/) {
|
||||
return ("", $1);
|
||||
}
|
||||
|
||||
# D:HH:MM:SS
|
||||
|
Loading…
x
Reference in New Issue
Block a user