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:03:58 +01:00
2026-11-17 23:03:53 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:02 +01:00
2026-10-10 21:23:37 +02:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:00 +01:00
2026-11-17 23:04:00 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:01 +01:00
2026-10-10 21:23:37 +02:00
2026-11-17 23:04:01 +01:00
2026-10-10 21:34:51 +02:00
2026-11-17 23:04:00 +01:00
2026-10-10 21:23:37 +02:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:01 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:03 +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 23:04:02 +01:00
2026-11-17 23:04:03 +01:00
2026-11-17 23:04:03 +01:00
2026-11-17 23:04:08 +01:00
2026-11-17 23:04:03 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:03 +01:00
2026-11-17 23:04:03 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:07 +01:00
2026-11-17 23:04:03 +01:00
2026-11-17 23:04:02 +01:00
2026-11-17 23:04:08 +01:00
2026-11-17 23:04:03 +01:00
2026-11-17 23:04:04 +01:00
2026-11-17 23:04:04 +01:00
2026-11-17 23:04:07 +01:00
2026-11-17 23:04:03 +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 23:04:04 +01:00
2026-11-17 23:04:04 +01:00
2026-11-17 23:04:04 +01:00
2026-11-17 23:04:04 +01:00
2026-10-24 08:29:51 +02:00
2026-10-18 20:02:09 +02:00
2026-11-17 23:04:04 +01:00
2026-11-17 23:04:04 +01:00
2026-11-17 23:04:03 +01:00
2026-11-17 23:04:08 +01:00