A CCK/Fields module that creates an "office hours" or "opening hours" field.
You can set the default weekly office hours for your locations.

The widget provides:
- 'allowed hours' restrictions;
- input validation;
- use of either a 24 or 12 hour clock;
- using 1, 2 or even more 'time blocks' per day (thanks to jonhattan).

The formatter provides options to easily create your own display. For example, next to the 'normal' tabular layout, you can create a view to export the data to a Google Places bulk upload file.
It also features:
- an 'open now'/'closed now' indicator;
- options to group days (E.g., "Mon-Fri 12:00-22:00").

Feeds support is provided to import Office hours for multiple locations at once.

    You can set the format as follows:
  • Add the field to an node/entity
  • Select the 'Office hours' formatter
  • Set the formatter details at /admin/structure/types/manage/NODE_TYPE/display/VIEW_MODE
    or
  • Add the field to a view
  • Select the 'Office hours' formatter
  • Check the formatter settings of the field

D6-version

Since there are hardly any new D6-sites, this version is minimally maintained.

Use cases

See this nice use case that shows how you can maintain and publish changing opening hours in advance.

Project Information

Downloads