OpenStreetMap logo OpenStreetMap

Changeset When Comment
140151292 over 2 years ago

So I switched to 'off' instead of opening and it fits 251 characters now.

changeset/140157453

I don’t know what to do if the problem arises again

140151292 over 2 years ago

I wanted to add the Labour Day hours so I tried to set the opening_hours to '24/7; Dec 24 00:00-16:00; Dec 25 10:00-16:00; Dec 26 07:00-20:00; Dec 27 05:00-24:00; Dec 31 00:00-18:00; Jan 01 08:00-17:00; Jan 02 05:00-24:00; easter -3 days 00:00-22:00; easter -2 days 07:00-20:00; easter -1 day 07:00-24:00; Sep: Mo[1] -1 day 00:00-22:00; Sep: Mo[1] 07:00-20:00; Sep: Mo[1] +1 day 05:00-24:00'

The problem is that it’s more than 255 characters (https://github.com/openstreetmap/openstreetmap-website/issues/2025) so as a workaround I used an open (GPLv3) compression algorithm to make it fit in one tag.

I don’t know what to do now. Should I rotate the opening hours throughout the year? Should I try to re-write the closures to try to make it in less characters? What do you think?