diff --git a/src/main.ts b/src/main.ts index 853a76e..a2129da 100644 --- a/src/main.ts +++ b/src/main.ts @@ -131,7 +131,7 @@ const main = async () => { log( 'You worked', chalk.green( - formatDuration(dayjs.duration({ minutes: Math.round(workLeftMinutes * -1) })), + formatDuration(dayjs.duration(Math.round(workLeftMinutes * -1), 'minutes')), 'overtime today', ), );