From ede251ff64756f62d756211f795b2682c6b52ee2 Mon Sep 17 00:00:00 2001 From: familyfriendlymikey Date: Wed, 25 Jan 2023 15:59:59 -0500 Subject: [PATCH] to_hms pad zeros #4 --- make_cuts.imba | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_cuts.imba b/make_cuts.imba index b21aefa..421a720 100644 --- a/make_cuts.imba +++ b/make_cuts.imba @@ -46,7 +46,7 @@ def to_hms secs Math.floor secs / 3600 Math.floor (secs % 3600) / 60 Math.round((secs % 3600 % 60) * 1000) / 1000 - ].filter(Boolean).join("-") + ].map(do String($1).padStart(2,0)).join("-") def main