diff --git a/src/Timesheet/LockdownService.php b/src/Timesheet/LockdownService.php index f55d9b08..b8f54f69 100644 --- a/src/Timesheet/LockdownService.php +++ b/src/Timesheet/LockdownService.php @@ -86,9 +86,9 @@ final class LockdownService } // further validate entries inside of the most recent lockdown - if ($timesheetStart > $lockdownStart && $timesheetStart < $lockdownEnd) { + if ($timesheetStart >= $lockdownStart && $timesheetStart <= $lockdownEnd) { // if grace period is still in effect, validation succeeds - if ($now < $lockdownGrace) { + if ($now <= $lockdownGrace) { return true; }