cmichi / ulm-opening-hours

Interactive web application displaying open facilities within the city Ulm on a map (using OpenStreetMap data).

Home Page:http://ulm-oeffnungszeiten.creal.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support holidays

fnogatz opened this issue · comments

Don't know where to get the dates from, but it would be very nice if the project would support holidays, both Germany-wide and regional (BaWü & BAY). Currently the normal Friday opening hours are displayed on Good Friday (Karfreitag, 29.03.2013).

I'm not sure how this should be handled as not every shop will be open like on Sunday, but this may be a good basis.

Some thoughts on this:

This is definitely a feature, which is missing. The goal of the project is to visually answer the question "What is currently open?" and especially in Germany holidays are often times in the middle of the week and opening_hours will be completely different.

OSM opening_hours support Public Holidays (PH), however the currently used lib to parse opening_hours does not. As you wrote, PH's often differ in different regions within Germany, thus we would have to check whether a certain facility is in Baden-Württemberg or Bayern.

At the moment I think the best quick, pragmatic solution would be to show a "Warning"-PopUp, once the selected date is a PH. The PopUp should give details on the PH and inform the user that opening_hours might be different in the according region today.

Any progress? Have you looked at #4 yet?