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
@@ -566,7 +566,7 @@ const tours: TranslationStrings = {
'tours.walk.hours.closes': '{name}: zavírá v {closes}, během pobytu od {arrival} do {leave} (otevřeno {window})',
'tours.walk.hours.unread': 'Otevírací dobu zde nelze vyhodnotit: {text}',
'tours.walk.hours.source':
'Otevírací doby z OpenStreetMap nebo z tvých vlastních míst, porovnané s odhadovaným příchodem v místním čase plánu; před cestou si je ověř. Zastávka bez časů je neznámá, ne otevřená.',
'Otevírací doby z OpenStreetMap nebo z míst výletu, porovnané s odhadovaným příchodem v místním čase plánu; před cestou si je ověř. Zastávka bez časů je neznámá, ne otevřená.',
'tours.walk.hours.noStart': 'Dej procházce v tento den čas, abys viděl příchody a otevírací doby.',
'tours.walk.day.label': 'Časy pro',
'tours.walk.day.start': '{day}, začátek {time}',