fix(tours): the last review findings of the city walks

A place closing at midnight is no longer read as open past it: the hours
run on only where the next date opens at midnight (any window of the day
counts, as written order is kept), and an impossible date such as
2026-02-31 reads as unknown instead of rolling into March. The hours
source names the trip's places rather than "your own" entries, in all
27 locales, as the pill beside it does.

The day a walk's arrivals are checked for shows its date on the pill,
not only "Day N". The 12 hour clock is tested for a window to midnight.

The along-the-tour term table is built once again, now that the one test
that stubbed the places client without its real exports spreads them.
New test seeding goes through the ORM factories.
This commit is contained in:
Maurice
2026-10-20 10:37:29 +02:00
parent 6477bf5e39
commit 3882feec5c
40 changed files with 178 additions and 80 deletions
+1 -1
View File
@@ -577,7 +577,7 @@ const tours: TranslationStrings = {
'tours.walk.hours.closes': "{name} tanca a les {closes}, durant l'estada de {arrival} a {leave} (obre {window})",
'tours.walk.hours.unread': 'Horari no llegit aquí: {text}',
'tours.walk.hours.source':
"Horaris d'OpenStreetMap o dels teus propis llocs, comparats amb l'arribada estimada en l'hora local del pla; comprova'ls abans d'anar-hi. Una parada sense horari és desconeguda, no oberta.",
"Horaris d'OpenStreetMap o dels llocs del viatge, comparats amb l'arribada estimada en l'hora local del pla; comprova'ls abans d'anar-hi. Una parada sense horari és desconeguda, no oberta.",
'tours.walk.hours.noStart': 'Posa una hora a la ruta aquest dia per veure arribades i horaris.',
'tours.walk.day.label': 'Horaris per a',
'tours.walk.day.start': '{day}, sortida a les {time}',