set maintenance dates correctly
This commit is contained in:
1 parent
c0d1a4f274
commit
e9fef85b72
2 files changed
+3
-3
No files matched your search
@@ -24,7 +24,7 @@ public enum MaintenanceManager {
|
||||
|
||||
public static void setMaintDateTime(Building building, LocalDateTime maintDate) {
|
||||
|
||||
building.maintDateTime = maintDate;
|
||||
building.maintDateTime = maintDate.withHour(1).withMinute(0).withSecond(0);
|
||||
DbManager.BuildingQueries.updateMaintDate(building);
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user