Maurice
62c03d71bf
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 23:04:08 +01:00
..
2026-11-17 23:04:08 +01:00
2026-11-17 23:04:07 +01:00
2026-10-10 21:23:37 +02:00
2026-11-17 23:03:56 +01:00
2026-11-17 23:04:00 +01:00
2026-10-23 22:00:06 +02:00
2026-10-22 21:34:15 +00:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-11-17 23:03:33 +01:00
2026-10-10 21:23:37 +02:00
2026-11-11 20:41:25 +00:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-12 17:06:52 +02:00
2026-11-13 17:42:43 +01:00
2026-11-13 17:42:43 +01:00
2026-10-10 21:23:37 +02:00
2026-10-14 20:21:38 +02:00
2026-10-08 13:04:39 +02:00
2026-10-10 20:15:54 +02:00
2026-11-17 23:03:53 +01:00
2026-10-06 19:27:30 +02:00
2026-10-10 21:23:37 +02:00
2026-11-11 21:26:31 +00:00
2026-10-16 23:14:52 +02:00
2026-11-17 08:44:10 +01:00
2026-11-16 10:45:22 +01:00
2026-11-17 23:03:55 +01:00
2026-11-01 22:26:40 +01:00
2026-11-13 17:43:48 +01:00
2026-10-10 21:23:37 +02:00
2026-11-04 10:56:36 +01:00
2026-10-10 21:23:37 +02:00
2026-11-04 11:37:52 +01:00
2026-10-06 19:27:30 +02:00
2026-11-17 23:03:33 +01:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-11-17 23:03:33 +01:00
2026-10-10 21:23:37 +02:00
2026-10-06 19:27:30 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 20:16:04 +02:00
2026-10-19 22:15:22 +02:00
2026-10-14 08:39:31 +02:00
2026-10-14 20:21:39 +02:00
2026-10-20 15:11:08 +02:00
2026-10-14 14:02:27 +02:00
2026-10-15 21:51:22 +02:00
2026-10-18 21:35:02 +00:00
2026-10-14 08:39:31 +02:00
2026-10-20 15:05:51 +02:00
2026-10-20 18:40:48 +02:00
2026-10-20 21:56:06 +02:00
2026-10-20 18:40:48 +02:00
2026-10-20 17:51:27 +02:00
2026-10-20 07:09:56 +00:00
2026-10-20 15:11:08 +02:00
2026-10-10 21:23:37 +02:00
2026-10-20 21:11:44 +02:00
2026-11-17 23:03:33 +01:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-11-17 08:44:10 +01:00
2026-10-10 21:23:37 +02:00
2026-10-10 20:16:04 +02:00