mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
68ce177901
The case asserts no availability counter is shown for an ambiguous station, and looked for one with an unanchored /\d+\/\d+/. The attribution line beside it ends in the source's updatedAt run through toLocaleString(), and tests/setup.ts only forces en-US on toLocaleDateString, so that timestamp reads "14.9.2026" on a German machine and "9/14/2026" on the CI runner. The regex matched the second one. Green where it was written, red on Linux, and red for a reason that has nothing to do with charging. Anchored at the start instead. Both places that print a count begin with it, so the case still says what it meant to say.