feature/TT-12_datetime_picker_format #TT-12 fixed (#20)
All checks were successful
Build-und-Deploy / build (push) Successful in 1m35s

Co-authored-by: Nils Burghardt <nilzbu@gmail.com>
Reviewed-on: #20
This commit was merged in pull request #20.
This commit is contained in:
2025-08-13 14:05:36 +00:00
parent cc90a8c79c
commit 72ffefc640

View File

@@ -47,6 +47,7 @@ final class TimeEntryFormConfigurer {
formFactory.setFieldProvider("startTime", (TimeEntry bean) -> {
TimePicker tp = new TimePicker("Start");
tp.setRequiredIndicatorVisible(true);
tp.setLocale(Locale.of("de", "DE"));
tp.setMin(LocalTime.of(5, 0));
tp.setMax(LocalTime.of(23, 59));