diff options
| author | Matthew Fennell <matthew@fennell.dev> | 2026-04-19 22:10:00 +0100 |
|---|---|---|
| committer | Matthew Fennell <matthew@fennell.dev> | 2026-04-19 22:10:00 +0100 |
| commit | 9c2d127368a3cf3ed7f1d1fd6f1bd77dd08d81c5 (patch) | |
| tree | 43b287894c68ef8f7f2a46a8b7a46c9b975b2615 /LICENSES/AGPL-3.0-or-later.txt | |
| parent | 1a86583160fbf10a68828958e80a7aa52e5c9db8 (diff) | |
Fix off-by-one error in 10pm-adjusted-date
The bookings are released at 22:00 Europe/London time. When we check (>
(date-hour date) 22), we are not checking whether the time is greater than
22:00, but whether the hour 22 is greater than 22! This means that we do not
adjust the date until an hour later, when all the bookings will be gone!
Fix this by checking if the hour >= 22 instead.
Diffstat (limited to 'LICENSES/AGPL-3.0-or-later.txt')
0 files changed, 0 insertions, 0 deletions
