diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-10 19:55:47 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-10 19:55:47 +0200 |
commit | 61b94411dabedfe9435b43a15625e7c328230a36 (patch) | |
tree | 1553a4d5ae73b5922cda62683d06fe069a27ea17 /scd4x | |
parent | f3ebd73d4225cf0111b2702213d0b7c7c095d74e (diff) | |
download | hue-61b94411dabedfe9435b43a15625e7c328230a36.tar.gz |
ts fix
Diffstat (limited to 'scd4x')
-rwxr-xr-x | scd4x | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,9 +39,9 @@ for (;;) { if (defined($mqtt)) { $mqtt->retain( $topic => $values->{$key} ); } else { + my $ts = chomp(POSIX::ctime(time())); printf("[%s] %-20s: %s\n", - POSIX::ctime(time()), - $topic, $values->{$key}); + $ts, $topic, $values->{$key}); } } $pvalues = $values; |