2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

57_Calendar: use correct operator for string concatenation (forum #128861)

git-svn-id: https://svn.fhem.de/fhem/trunk@26344 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2022-08-22 15:06:57 +00:00
parent 9236d8de44
commit bc5db2c33c

View File

@ -533,7 +533,7 @@ sub td {
push @r, sprintf("%dd", $d) if $d> 0; push @r, sprintf("%dd", $d) if $d> 0;
if($m>0 || $s>0) { if($m>0 || $s>0) {
my $t= sprintf("%d:%02d", $h, $m); my $t= sprintf("%d:%02d", $h, $m);
$t+= sprintf("\'%02d", $s) if $s> 0; $t.= sprintf("\'%02d", $s) if $s> 0;
push @r, $t; push @r, $t;
} else { } else {
push @r, sprintf("%dh", $h) if $h> 0; push @r, sprintf("%dh", $h) if $h> 0;