# Opening hours

https://docs.kleaver.ie/modules/hours/

The hours a business is open, written once in client.json (business.hours) and rendered by {{business.hoursList}}; the same data feeds the search-engine markup and llms.txt. Today's row is marked, and a line above the list says whether the business is open right now and when it next opens, worked out in the business's own time zone (business.timezone, Europe/Dublin by default). A row can carry a note. Where a page needs a mention rather than a table, {{business.hoursSummary}} gives the open rows on one line. The hours below are **sample data**.

client.json

```
"business": {
  "timezone": "Europe/Dublin",
  "hours": [
    { "days": ["Mo","Tu","We","Th","Fr"], "label": "Mon – Fri", "opens": "09:00", "closes": "18:00" },
    { "days": ["Sa"], "label": "Saturday", "opens": "10:00", "closes": "16:00" },
    { "days": ["Su"], "label": "Sunday", "closed": true, "note": "Collections by arrangement" }
  ]
}

<!-- in the page -->
{{business.hoursList}}      the list, today marked, open-now line
{{business.hoursSummary}}   "Mon – Fri 09:00 – 18:00 · Saturday 10:00 – 16:00"
```

## Catalog

| Hours | `{{business.hoursList}}` → `.hours[data-hours-tz]` > `p.hours__status[data-hours-status]`, `dl.hours__list` > `.hours__row[data-days][data-opens][data-closes]` (`dt`, `dd`, optional `dd.hours__note`) · see **`modules.html#hours`** | Opening hours from `business.hours` (`days`, `label`, `opens`/`closes` or `closed`, optional `note`). `ui.js` marks today and fills the open-now line ("Open now · closes 18:00" / "Closed now · opens Tue at 09:00") in `business.timezone` (default Europe/Dublin); hidden without JS. `{{business.hoursSummary}}` gives the open rows on one line. |
