about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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";
 }