You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is possible to get the closest closing time from a given date? For example Days::MONDAY, [['08:00', '13:00'], ['14:00', '18:30']]
i need a function like $business->closestClosing(new \DateTime('2017-07-24 10:00'));
return '13:00'.
thanks
The text was updated successfully, but these errors were encountered:
Business::CLOSEST_LAST mode parameter do not work with closest method.
In the cas above, return date "2017-07-24 10:00:00.000000" instead of "2017-07-24 13:00:00.000000"
Hi. Thanks for your work.
Is possible to get the closest closing time from a given date? For example
Days::MONDAY, [['08:00', '13:00'], ['14:00', '18:30']]
i need a function like
$business->closestClosing(new \DateTime('2017-07-24 10:00'));
return '13:00'.
thanks
The text was updated successfully, but these errors were encountered: