diff --git a/gui/controllers/reports_controller.py b/gui/controllers/reports_controller.py index 205d471..2da26ca 100644 --- a/gui/controllers/reports_controller.py +++ b/gui/controllers/reports_controller.py @@ -64,8 +64,8 @@ def setDate(self, date): self.endDate = Timings.workStartDateTime() + datetime.timedelta(days=1) def updateCustomDatePicker(self): - self.dpkrTo.setDateValue_(datetimeToNSDate(self.startDate)) - self.dpkrFrom.setDateValue_(datetimeToNSDate(self.endDate)) + self.dpkrTo.setDateValue_(datetimeToNSDate(self.endDate)) + self.dpkrFrom.setDateValue_(datetimeToNSDate(self.startDate)) def updateState(self): self.updateCustomDatePicker()