Format fix

This commit is contained in:
Self Denial 2024-04-13 22:39:10 -06:00
parent 23b674ddda
commit d2d255228c

View file

@ -469,9 +469,9 @@ export const blobToFile = (blob, fileName) => {
}; };
export const approximateToHumanReadable = (nanoseconds: number) => { export const approximateToHumanReadable = (nanoseconds: number) => {
const seconds = Math.floor((nanoseconds / 1e+9) % 60); const seconds = Math.floor((nanoseconds / 1e9) % 60);
const minutes = Math.floor((nanoseconds / 6e+10) % 60); const minutes = Math.floor((nanoseconds / 6e10) % 60);
const hours = Math.floor((nanoseconds / 3.6e+12) % 24); const hours = Math.floor((nanoseconds / 3.6e12) % 24);
const results: string[] = []; const results: string[] = [];