HoursBand

Markdown

One band of opening hours: a date range, weekdays, and open and close times. The last matching band wins, so list the year-round band first and the exceptions after it.

Fields

  • fromstringoptional

    First day of the band as MM-DD. Absent means the start of the year.

  • tostringoptional

    Last day of the band as MM-DD. May wrap over the new year (from 11-01 to 03-31).

  • weekdaysarray of numbersoptional

    The weekdays it covers, 1 (Monday) to 7 (Sunday). Absent means every day.

  • closedbooleanoptional

    true when the place is closed in this band. Otherwise open and close are required.

  • openstringoptional

    Opening time as HH:MM, or sunrise or sunset.

  • closestringoptional

    Closing time as HH:MM, or sunrise or sunset.

  • openOffsetMinnumberoptional

    Minutes around a sun anchor for open (-240 to 240; -60 is an hour before sunrise).

  • closeOffsetMinnumberoptional

    Minutes around a sun anchor for close (-240 to 240).

  • lastEntrystringoptional

    Last entry as HH:MM.

  • leaveBystringoptional

    The time visitors must be out as HH:MM.

  • notestringoptional

    One line for the band, at most 200 characters.

Used by