We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da3713b commit 9fcf4aeCopy full SHA for 9fcf4ae
web/src/modules/shared/util/format.ts
@@ -1,3 +1,4 @@
1
+// TODO: Move to shared/util
2
export const formatDuration = (totalSeconds: number) => {
3
const minutes = Math.floor(Math.ceil(totalSeconds) / 60);
4
const seconds = Math.ceil(totalSeconds) % 60;
0 commit comments