Maurice
143e2ae447
fix(db): find no nearest day for a date the calendar does not have
...
The nearest-day fallback of a booking's time cast the bound date to a
timestamp on Postgres, which refuses 2024-02-30 with a 500, while SQLite's
JULIANDAY rolled it over into March and placed the booking there.
dayDistance now refuses anything but a calendar date on both engines
(isCalendarDate), so a caller that forgets the check fails on SQLite too,
and findNearestDayId answers no day for such a date. The size baseline of
Reservations.repository.ts drops by one line.
2026-11-17 21:23:31 +01:00
..
2026-11-17 14:33:07 +01:00
2026-11-17 13:00:47 +01:00
2026-11-17 16:35:24 +01:00
2026-11-17 15:59:20 +01:00
2026-11-17 15:50:49 +01:00
2026-11-17 15:50:49 +01:00
2026-11-17 16:13:02 +01:00
2026-11-17 16:13:02 +01:00
2026-11-17 16:06:58 +01:00
2026-11-17 16:18:55 +01:00
2026-11-17 16:35:24 +01:00
2026-11-17 16:18:55 +01:00
2026-10-10 21:23:37 +02:00
2026-11-17 15:59:20 +01:00
2026-11-17 15:59:20 +01:00
2026-11-17 15:27:49 +01:00
2026-11-17 15:24:54 +01:00
2026-11-17 16:25:48 +01:00
2026-11-17 16:06:58 +01:00
2026-10-10 21:23:37 +02:00
2026-11-17 16:13:02 +01:00
2026-10-10 21:34:51 +02:00
2026-11-17 15:32:00 +01:00
2026-10-10 21:23:37 +02:00
2026-11-17 15:59:20 +01:00
2026-11-17 15:59:20 +01:00
2026-11-17 16:06:58 +01:00
2026-11-17 16:25:48 +01:00
2026-11-17 15:50:49 +01:00
2026-11-17 16:06:58 +01:00
2026-11-17 16:47:38 +01:00
2026-11-17 17:19:20 +01:00
2026-11-17 17:44:07 +01:00
2026-10-10 20:16:10 +02:00
2026-10-10 20:16:10 +02:00
2026-10-10 20:16:10 +02:00
2026-10-10 20:16:10 +02:00
2026-10-10 20:16:10 +02:00
2026-11-17 16:47:38 +01:00
2026-11-17 17:44:13 +01:00
2026-11-17 17:54:16 +01:00
2026-11-17 21:18:27 +01:00
2026-11-17 17:54:16 +01:00
2026-11-17 16:47:38 +01:00
2026-11-17 17:00:56 +01:00
2026-11-17 17:44:13 +01:00
2026-11-17 17:44:13 +01:00
2026-11-17 16:47:38 +01:00
2026-11-17 17:00:56 +01:00
2026-11-17 17:00:56 +01:00
2026-11-17 17:19:20 +01:00
2026-11-17 17:00:56 +01:00
2026-11-17 21:18:27 +01:00
2026-11-17 17:44:07 +01:00
2026-11-17 17:00:56 +01:00
2026-11-17 21:23:31 +01:00
2026-11-17 18:03:33 +01:00
2026-11-17 18:15:31 +01:00
2026-11-17 18:15:31 +01:00
2026-11-17 21:18:27 +01:00
2026-11-17 18:03:33 +01:00
2026-11-01 14:20:10 +01:00
2026-11-01 18:11:43 +01:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-11-17 18:15:31 +01:00
2026-11-17 18:15:31 +01:00
2026-11-17 18:15:31 +01:00
2026-11-17 18:15:31 +01:00
2026-10-24 08:29:51 +02:00
2026-10-18 20:02:09 +02:00
2026-11-17 18:15:31 +01:00
2026-11-17 18:15:31 +01:00
2026-11-17 18:03:33 +01:00
2026-11-17 21:23:23 +01:00