From 370399e991e9b066365f0e2f1e4faa801d9c3a7a Mon Sep 17 00:00:00 2001 From: familyfriendlymikey Date: Wed, 25 Jan 2023 16:07:47 -0500 Subject: [PATCH] milliseconds toFixed(3) --- make_cuts.imba | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_cuts.imba b/make_cuts.imba index 421a720..0be19c1 100644 --- a/make_cuts.imba +++ b/make_cuts.imba @@ -45,7 +45,7 @@ def to_hms secs [ Math.floor secs / 3600 Math.floor (secs % 3600) / 60 - Math.round((secs % 3600 % 60) * 1000) / 1000 + (Math.round((secs % 3600 % 60) * 1000) / 1000).toFixed(3) ].map(do String($1).padStart(2,0)).join("-") def main