opening-hours / opening_hours.js

Library to parse and process the opening_hours tag from OpenStreetMap data
https://openingh.ypid.de/evaluation_tool/
222 stars 118 forks source link

Time bar is not correct #420

Open Jakkajakka opened 2 years ago

Jakkajakka commented 2 years ago

Mo-Su 07:00-01:00, Fr,Sa 07:00-03:00 07_not_08

Jakkajakka commented 2 years ago

It sames it every time that Sunday is wrong

Jakkajakka commented 2 years ago

Representation of 24:00 at the end is now 00:00 (campsite) not_24_00

ypid commented 2 years ago

I think this is a duplicate issue, at least I have seen this before. Can you check the open issues?

KAtCo-12 commented 1 year ago

I don't think the 24:00 / 00:00 thing is the point, since the problem doesn't exist on other days. But i notice it's this specific Sunday (last of October) when the timezone changes : i saw the same point with a simple rule "09:00-19:00" and same issue. No problem on other weeks or days.

So i tried with last Sunday of March : the DST is the origin of this issue. But in March obviously it's displayed one hour earlier instead of 1h later : it's when the place's clocks changes between summer time and winter time, and only that specific day ! (well, i mean twice a year then)

try by yourself, you'll see.... here on October but with 19 instead of 24 20221031-170326