- fix Verhalten mit einem Datum und Endnachricht
This commit is contained in:
parent
61465b9a57
commit
903481e63b
@ -35,7 +35,8 @@ class SimpleLoadingBar {
|
|||||||
verifyTimeFormat(nextArg, "Zweites Argument");
|
verifyTimeFormat(nextArg, "Zweites Argument");
|
||||||
endTime = LocalTime.parse(nextArg, TIME_FORMATTER);
|
endTime = LocalTime.parse(nextArg, TIME_FORMATTER);
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
if (endTime == null) {
|
||||||
startTime = LocalTime.now();
|
startTime = LocalTime.now();
|
||||||
endTime = firstTime;
|
endTime = firstTime;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user