Improve stop time print
This commit is contained in:
parent
ab51b4c11d
commit
312ac4e819
1 changed files with 1 additions and 3 deletions
|
@ -78,9 +78,7 @@ const ui = async () => {
|
||||||
|
|
||||||
if (askInput.stopTime) {
|
if (askInput.stopTime) {
|
||||||
const stoppedAnswer = await rl.question(
|
const stoppedAnswer = await rl.question(
|
||||||
`What time did you stop working (default is current time if you didn't stop yet)? [${formatTime(
|
`What time did you stop working? [${formatTime(defaults.stopTime)}] `,
|
||||||
defaults.stopTime,
|
|
||||||
)}] `,
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (stoppedAnswer !== '') {
|
if (stoppedAnswer !== '') {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue