Fix overtime duration constructor
This commit is contained in:
parent
a929c8aec8
commit
38b1e14b5c
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue