From d2d255228c1ba35a673c7a07736f68ebf3e70377 Mon Sep 17 00:00:00 2001 From: Self Denial Date: Sat, 13 Apr 2024 22:39:10 -0600 Subject: [PATCH] Format fix --- src/lib/utils/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/utils/index.ts b/src/lib/utils/index.ts index 559e7391f..338430bb5 100644 --- a/src/lib/utils/index.ts +++ b/src/lib/utils/index.ts @@ -469,9 +469,9 @@ export const blobToFile = (blob, fileName) => { }; export const approximateToHumanReadable = (nanoseconds: number) => { - const seconds = Math.floor((nanoseconds / 1e+9) % 60); - const minutes = Math.floor((nanoseconds / 6e+10) % 60); - const hours = Math.floor((nanoseconds / 3.6e+12) % 24); + const seconds = Math.floor((nanoseconds / 1e9) % 60); + const minutes = Math.floor((nanoseconds / 6e10) % 60); + const hours = Math.floor((nanoseconds / 3.6e12) % 24); const results: string[] = [];