redateStaysAndPlaces() now runs in commit() (before the snapshot, so history stores consistent pairs) and in restore(). Any present or future edit that changes day dates keeps stays/places/booking strings in sync for free; consistent plans are an idempotent no-op. apply_flight_anchors no longer calls it directly — commit is the single enforcement point. enterTrip's load-time self-heal stays for plans persisted by older code. |
||
|---|---|---|
| .. | ||
| scripts | ||
| app.js | ||
| data.js | ||
| index.html | ||
| server.js | ||
| styles.css | ||