I’m currently handling the business-hour logic directly inside the prompt. I list the hours as a block, something like:
Open Hours:
— Monday: 9am–12pm / 1pm–4pm
— Tuesday: 9am–12pm / 1pm–4pm
— Wednesday: 9am–12pm / 1pm–4pm
— Thursday: 9am–12pm / 1pm–4pm
Timezone: America/Los_Angeles
And I’m also including the documentation’s suggestion:
{{"now" | date: "%A, %B %d, %Y, %I:%M %p", "America/Los_Angeles"}}
The issues I’m running into are:
* The bot sometimes says the office is closed even though we’re still within open hours, or it tries to transfer a call on a day the office is actually closed.
* When reading the hours out loud, it occasionally says things like “9am minus 12pm,” which wasn’t happening before.