diff options
author | Andinus <andinus@nand.sh> | 2020-10-30 19:06:25 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-10-30 19:06:25 +0530 |
commit | 9f0629516b2b3727355484f0a2515faeaaaa096a (patch) | |
tree | 4dc04324a0a21eabcc92c4a653a85983e6661343 | |
parent | e0e4b23d522ef908b91d444a1578b923097b52fd (diff) | |
download | leo-9f0629516b2b3727355484f0a2515faeaaaa096a.tar.gz |
Fix syntax error that was messing with $min v0.3.0
-rwxr-xr-x | leo.pl | 2 |
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"; } |