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 119 forks source link

Display the name of day in the array #327

Open pyrog opened 4 years ago

pyrog commented 4 years ago

For example, add a column with the day…

. .  .
23/03/2020 Lundi  
24/03/2020 Mardi ouvert 07:15:00 à 13:00:00
25/03/2020 Mercredi  ouvert 07:15:00 à 13:00:00
26/03/2020 Jeudi  
27/03/2020 Vendredi ouvert 07:15:00 à 13:00:00
28/03/2020 Samedi ouvert 07:45:00 à 13:00:00
29/03/2020 Dimanche ouvert 08:15:00 à 13:00:00

Or add an option in the URL to specify the date format ?

ypid commented 4 years ago

Good thing is that the first day in this table is constant so you can rely on it. Also it is color coded (Saturday and Sunday are red). That said, I am open to improving this.