php-store-hours icon indicating copy to clipboard operation
php-store-hours copied to clipboard

Output content based on time-of-day and-day-of-week.

Results 18 php-store-hours issues
Sort by recently updated
recently updated
newest added

How to view a message for each holiday? example for test: `'10/03' => array ('9:00-23:59','Merry X-mas')` I tried so but it doesn't work ``` / OPTIONAL // Add exceptions (great...

I think that one thing is missing. The fact that I can't print tomorrow's hours or the first hour's day that the store is opened when the store is actually...

I have just integrated this into my website and it's working perfect, just quick question Also can the exceptions be date ranges so the opening times for dates 7/4/2020 to...

I am playing around with your php store hours app from GitHub. I was wondering if there a way to have a special message (i.e.: Happy Mother’s Day) assigned to...

enhancement

are these two blocks causing php warnings? ``` foreach ($this->exceptions as $key => $value) { $this->exceptions[$key] = array_filter($value, function ($element) { return (trim($element) !== ''); }); } ``` ``` foreach...

Hi! Thanks for that class! there is a issue with '$store_hours->hours_this_week(true)' when using $hours- array like this : ` $hours = array( 'mon' => array('11:00-20:30'), 'tue' => array('11:00-13:00', '18:00-20:30'), 'wed'...

It would be great if you are offering support for composer installation. Best regards

Hi. I'm using a flat file cms and I already have $Page->hoursSun(); How to use existing variables? When I add it the script throws up Undefined offset on line 175

Changed hours_this_week_simple() and hours_this_week() in order to allow us to get array of dates ordered by today + the other 6 days. Just like we see in Google Maps.

How to implement this package if shop work on odd/even days of month ? For example, shop opened on even days, but no matter what day it is (odd/even) the...