When an improperly formatted time string is passed to the command, it barfs. This should make a nice error message and handle the exception.
toggl edit --start 8;29AM
TypeError: startTime.toISOString is not a function
at Object.handler (file:///opt/homebrew/lib/node_modules/@beauraines/toggl-cli/cmds/edit.mjs:62:40)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
-bash: 29AM: command not found
When an improperly formatted time string is passed to the command, it barfs. This should make a nice error message and handle the exception.
toggl edit --start 8;29AM