php-store-hours
php-store-hours copied to clipboard
Output content based on time-of-day and-day-of-week.
For example, for Berlin... 10am to 5pm --> German: 10 Uhr - 15 Uhr
Composer
Please, consider delivering your package via composer! In this way it would be easier to keep track of changes and updates! Thank you!
Hey! Thanks for making this awesome code! Would it be possible to somehow let different stores (multiple stores) to have different exceptions? Like some stores would be closed one date...
Hello and thank you for this fine piece of code. I have written you earlier about an unrelated issue and thank you for your response. In this case, I am...
I have only one request. When a store is closed, currently it echo's a separator or '-' by default. I have inserted a snippet ie; if($hours=='-'){ echo '' . 'Closed'...
In one of your examples, you show how to present a full list of open hours for a week without exceptions. Is there a method to have it show with...
**Concepts** - _REAL HOURS_ are `$hours` combined with `$exceptions` (if applicable). - The shop is _OPEN_ if a given timestamp is within _REAL HOURS_. - The shop is _OPEN LATE_...
Was curious about if closed output could be updated to something like: prior to opening: “currently closed, opening at 10am” after closing: “closed, open tomorrow at 10am”.