Proposal:PH as usual

From OpenStreetMap Wiki
Jump to navigation Jump to search
PH as usual
Proposal status: Draft (under way)
Proposed by: Pietervdvn
Tagging:
Applies to: node way area relation)
Definition: Opening hours where opening hours are the same during public holidays as they are usually
Rendered as: N/A
Draft started: 2026-08-04
RFC start: 2026-08-05

Proposal

This proposal wants to introduce the value `PH as usual` in the syntax for opening_hours=* and related tags.

Rationale

In many cases, a business has no special opening hours during public holidays.

There are a few ways to indicate this, all with some important drawbacks:

  • Not mentioning public holidays at all. This implicitly means PH as usual, but can also be interpreted as PH unknown.
  • Copying all the opening hours, e.g. mo-fr 10:00-18:00; PH mo-fr 10:00-18:00. While this is explicit, it might quickly reach the 255 character limit. Someone might also edit the normal part and forget to edit the PH part. (And I've never seen this used in practice)
  • PH open means open from 00:00 'till 23:59. This one is sometimes abused to indicate 'as usual', e.g. mapcomplete does this. This proposal is here to fix this.
  • Ph off "as usual"; mo-fr 10:00-18:00 is apparently correct, as later rules overwrite earlier rules. This is however very unintuitive.

As such, an "as usual" value would be useful.

Note that other rules still overwrite `PH as usual`; for example mo-fr 10:00-18:00; PH as usual; Dec 25 off still means that christmass is off. Effectively, PH as usual can be removed completely from the value to yield the same result, except that it is explicit.

Features/Pages affected

External discussions

- https://community.openstreetmap.org/t/proposing-ph-as-usual-as-extra-value/146155 - https://github.com/opening-hours/opening_hours.js/issues/631

Comments

Please comment on the discussion page.