mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +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:
parent
9236d8de44
commit
bc5db2c33c
@ -533,7 +533,7 @@ sub td {
|
||||
push @r, sprintf("%dd", $d) if $d> 0;
|
||||
if($m>0 || $s>0) {
|
||||
my $t= sprintf("%d:%02d", $h, $m);
|
||||
$t+= sprintf("\'%02d", $s) if $s> 0;
|
||||
$t.= sprintf("\'%02d", $s) if $s> 0;
|
||||
push @r, $t;
|
||||
} else {
|
||||
push @r, sprintf("%dh", $h) if $h> 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user