Fix overtime duration constructor

This commit is contained in:
Marko Korhonen 2023-11-14 22:27:08 +02:00
parent a929c8aec8
commit 38b1e14b5c
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -131,7 +131,7 @@ const main = async () => {
log( log(
'You worked', 'You worked',
chalk.green( chalk.green(
formatDuration(dayjs.duration({ minutes: Math.round(workLeftMinutes * -1) })), formatDuration(dayjs.duration(Math.round(workLeftMinutes * -1), 'minutes')),
'overtime today', 'overtime today',
), ),
); );