2
0
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:
betateilchen 2019-02-23 19:36:19 +00:00
parent c0e9996b63
commit 1a4f0796cd

View File

@ -2270,8 +2270,8 @@ sub Calendar_GetSecondsFromTimeSpec($) {
}
# seconds
if($tspec =~ m/^[0-9]+s?$/) {
return ("", $tspec);
if($tspec =~ m/^([0-9]+)s?$/) {
return ("", $1);
}
# D:HH:MM:SS