From 9f0629516b2b3727355484f0a2515faeaaaa096a Mon Sep 17 00:00:00 2001 From: Andinus Date: Fri, 30 Oct 2020 19:06:25 +0530 Subject: Fix syntax error that was messing with $min --- leo.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- cgit 1.4.1-2-gfad0