Skip to content

Commit 9fcf4ae

Browse files
committed
refactor: add TODO to move formatDuration to shared/util
1 parent da3713b commit 9fcf4ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/src/modules/shared/util/format.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// TODO: Move to shared/util
12
export const formatDuration = (totalSeconds: number) => {
23
const minutes = Math.floor(Math.ceil(totalSeconds) / 60);
34
const seconds = Math.ceil(totalSeconds) % 60;

0 commit comments

Comments
 (0)