diff --git a/geruecht/controller/userController.py b/geruecht/controller/userController.py index 6d551c8..23ca96d 100644 --- a/geruecht/controller/userController.py +++ b/geruecht/controller/userController.py @@ -81,8 +81,8 @@ class UserController(metaclass=Singleton): def checkBarUser(self, user): date = datetime.now() zero = date.replace(hour=0, minute=0, second=0, microsecond=0) - end = zero + timedelta(hours=11) - startdatetime = date.replace(hour=11, minute=0, second=0, microsecond=0) + end = zero + timedelta(hours=12) + startdatetime = date.replace(hour=12, minute=0, second=0, microsecond=0) if date > zero and end > date: startdatetime = startdatetime - timedelta(days=1) enddatetime = startdatetime + timedelta(days=1)