about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-10-30 19:06:25 +0530
committerAndinus <andinus@nand.sh>2020-10-30 19:06:25 +0530
commit9f0629516b2b3727355484f0a2515faeaaaa096a (patch)
tree4dc04324a0a21eabcc92c4a653a85983e6661343
parente0e4b23d522ef908b91d444a1578b923097b52fd (diff)
downloadleo-9f0629516b2b3727355484f0a2515faeaaaa096a.tar.gz
Fix syntax error that was messing with $min v0.3.0
-rwxr-xr-xleo.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/leo.pl b/leo.pl
index c03f673..1a10c5f 100755
--- a/leo.pl
+++ b/leo.pl
@@ -245,7 +245,7 @@ sub date {
     $mday = sprintf "%02d", $mday;
     $hour = sprintf "%02d", $hour;
     $min = sprintf "%02d", $min;
-    $min = sprintf "%02d", $sec;
+    $sec = sprintf "%02d", $sec;
 
     return "$year-$month-${mday}T${hour}:${min}:${sec}Z";
 }