Skip to content

Opening Hours Board

  • The core functions, which every industry uses.

An operating schedule is a zone, weekly windows, closed dates and one-off overrides. The board draws one local week of what it is open for (operatingIntervals) and answers five questions about the two instants you set: isOpenAt, nextOpenAt, nextCloseAt, operatingTimeBetween and addOperatingTime. The operating hours guide has the rules.

Edit the windows, holidays and overrides, or pick a preset, and drag the From and To handles or type the instants. When the library refuses the schedule, every readout says so and the refused rows are marked. To paste a schedule as JSON instead, use the Operating Schedule Checker.

1. The schedule

One working week in June 2024.

2. The week and the questions

3. The week and what the library says

  • open
  • closed
isOpenAt
no result
nextOpenAt
no result
nextCloseAt
no result
operatingTimeBetween
no result
addOperatingTime
no result

4. The calls

Refused is not closed. [] from operatingIntervals and false from isOpenAt come back for a closed schedule and for a refused one. The board asks isValidOperatingSchedule first, so you can tell which you have.

Text. Zones, windows and dates are passed to the library exactly as typed. The board repairs nothing, so a bad zone or date is refused by the library and marked on its row.

Reference: operatingIntervals, isOpenAt, nextOpenAt, nextCloseAt, operatingTimeBetween and addOperatingTime.

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.