Devlog
Bakehouse Collect
New Horizons Developments the builder, and software for small food businesses running on Wix. Mostly this is the things that were expensive to find out — the failures that reported success, the APIs that lied, and the occasional decision worth explaining. Subscribe by RSS.
-
A short final slot is the honest one
Opening hours rarely divide evenly by the slot length, and a blocked time almost never lands on the hour.
-
The slot is stored twice, deliberately
Once on the order so it appears where a shop looks, and once in a collection, because custom fields are not queryable.
-
Everything is civil time
Dates are text and times are text, read as the shop's wall clock. No Date arithmetic touches the calendar at all.