summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2017-07-12 14:32:08 +0100
committerJoe Robinson <joe@lc8n.com>2017-07-12 14:32:08 +0100
commit955b122dd5ec7560d5b76c6095f024bf9e26560f (patch)
tree10855a382c16f68d15ac4c42c4604aa95e3a87f4
parent1a5f471f587b3be5c732cca2f94ec5cfa9bfa108 (diff)
Add some spaces on string concatenation to be consistent
-rwxr-xr-xunixtime.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/unixtime.pl b/unixtime.pl
index 2675634..f47cf9f 100755
--- a/unixtime.pl
+++ b/unixtime.pl
@@ -7,7 +7,7 @@ if (defined $ARGV[0]) {
#Convert from timestamp in milliseconds to date
$seconds = substr $ARGV[0], 0, 10;
$milliseconds = substr $ARGV[0], 10, 3;
- $date = strftime('%a %b %e %H:%M:%S:'.$milliseconds.' %Z %Y', localtime( $seconds ) ) . "\n";
+ $date = strftime('%a %b %e %H:%M:%S:' . $milliseconds . ' %Z %Y', localtime( $seconds ) ) . "\n";
print $date;
} elsif ($ARGV[0] eq "ms") {
#Print current millisecond unix timestamp