Special Hours Test Page

Test Controls

Sample Hours Data

[
  {
    "id": 1,
    "business_id": "test-business-1",
    "day_of_week": 1,
    "open_time": "09:00",
    "close_time": "17:00",
    "is_closed": false,
    "specific_date": null,
    "holiday_name": null
  },
  {
    "id": 2,
    "business_id": "test-business-1",
    "day_of_week": 2,
    "open_time": "09:00",
    "close_time": "17:00",
    "is_closed": false,
    "specific_date": null,
    "holiday_name": null
  },
  {
    "id": 3,
    "business_id": "test-business-1",
    "day_of_week": 3,
    "open_time": "09:00",
    "close_time": "17:00",
    "is_closed": false,
    "specific_date": null,
    "holiday_name": null
  },
  {
    "id": 4,
    "business_id": "test-business-1",
    "day_of_week": 4,
    "open_time": "09:00",
    "close_time": "17:00",
    "is_closed": false,
    "specific_date": null,
    "holiday_name": null
  },
  {
    "id": 5,
    "business_id": "test-business-1",
    "day_of_week": 5,
    "open_time": "09:00",
    "close_time": "17:00",
    "is_closed": false,
    "specific_date": null,
    "holiday_name": null
  },
  {
    "id": 6,
    "business_id": "test-business-1",
    "day_of_week": 6,
    "open_time": "10:00",
    "close_time": "16:00",
    "is_closed": false,
    "specific_date": null,
    "holiday_name": null
  },
  {
    "id": 7,
    "business_id": "test-business-1",
    "day_of_week": 0,
    "open_time": "12:00",
    "close_time": "17:00",
    "is_closed": false,
    "specific_date": null,
    "holiday_name": null
  },
  {
    "id": 8,
    "business_id": "test-business-1",
    "day_of_week": 1,
    "open_time": "10:00",
    "close_time": "14:00",
    "is_closed": false,
    "specific_date": "*-12-25",
    "holiday_name": "Christmas Day"
  },
  {
    "id": 9,
    "business_id": "test-business-1",
    "day_of_week": 0,
    "open_time": null,
    "close_time": null,
    "is_closed": true,
    "specific_date": "*-01-01",
    "holiday_name": "New Year's Day"
  },
  {
    "id": 10,
    "business_id": "test-business-1",
    "day_of_week": 4,
    "open_time": "09:00",
    "close_time": "15:00",
    "is_closed": false,
    "specific_date": "*-12-24",
    "holiday_name": "Christmas Eve"
  },
  {
    "id": 11,
    "business_id": "test-business-1",
    "day_of_week": 5,
    "open_time": "08:00",
    "close_time": "20:00",
    "is_closed": false,
    "specific_date": "2025-08-29",
    "holiday_name": "Grand Opening Sale"
  },
  {
    "id": 12,
    "business_id": "test-business-1",
    "day_of_week": 6,
    "open_time": null,
    "close_time": null,
    "is_closed": true,
    "specific_date": "2025-08-30",
    "holiday_name": "Staff Training Day"
  }
]

Processing Results

Week of Aug 24, 2025

Sunday
Aug 24, 2025
12:00 - 17:00
Monday
Aug 25, 2025
09:00 - 17:00
Tuesday
Aug 26, 2025
09:00 - 17:00
Wednesday
Aug 27, 2025
09:00 - 17:00
Thursday
Aug 28, 2025
09:00 - 17:00
Friday
Aug 29, 2025
08:00 - 20:00
Grand Opening Sale
Saturday
Aug 30, 2025
CLOSED
Staff Training Day

Debug Information

Test Date: 2025-08-30 (Saturday)
Week Start: Aug 24, 2025
Week End: Aug 30, 2025
Special Dates Found: 2
Special Dates Details:
  • 2025-08-29 → Aug 29, 2025 (Friday)
  • 2025-08-30 → Aug 30, 2025 (Saturday)