2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

57_SSCal: contrib 1.7.0

git-svn-id: https://svn.fhem.de/fhem/trunk@21165 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-02-09 18:55:42 +00:00
parent 642e2ff66d
commit 051edf101f

View File

@ -3402,10 +3402,13 @@ sub SSCal_calAsHtml($;$) {
$begind = "$by-$bm-$bd";
$endd = "$ey-$em-$ed";
}
$begint = $bt;
$endt = $et;
my($a,$b,undef) = split(":", $bt);
$begint = "$a:$b";
my($c,$d,undef) = split(":", $et);
$endt = "$c:$d";
$edleft = "";
if($etimes >= $ntimes) {
$edleft = int(($etimes - $ntimes)/86400);
}