mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Resolve some intentionality issues
This commit is contained in:
parent
d27c1958d7
commit
ff8bbdca15
|
@ -307,7 +307,7 @@ public class OrderController {
|
|||
public String calender(Model model) {
|
||||
ArrayList<ArrayList<String>> datesOfMonth = new ArrayList<ArrayList<String>>(28);
|
||||
LocalDateTime startDateTime = LocalDateTime.now();
|
||||
LocalDateTime endDateTime = startDateTime.plusDays(27).withHour(23).withMinute(59).withSecond(59); // FIXME: set me to end of day
|
||||
LocalDateTime endDateTime = startDateTime.plusDays(27).withHour(23).withMinute(59).withSecond(59);
|
||||
LocalDate startDate = startDateTime.toLocalDate();
|
||||
LocalDate endDate = endDateTime.toLocalDate();
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
// SPDX-FileCopyrightText: 2023 swt23w23
|
||||
// SPDX-FileCopyrightText: 2023-2024 swt23w23
|
||||
package catering.staff;
|
||||
|
||||
import org.springframework.validation.Errors;
|
||||
|
@ -15,6 +15,7 @@ public class StaffForm {
|
|||
private @PositiveOrZero @NotNull Double wage;
|
||||
|
||||
public StaffForm() {
|
||||
// No need for default values
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
|
|
Loading…
Reference in a new issue