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
Hi guys, could you advise how can I set Saturday or Sunday as working day only in some cases( not always)?
The special day evaluator requires return an array of opening intervals.
This doesn't work:
new SpecialDay(Days::SATURDAY, function (\DateTime $date) {
if ('2015-05-29' === $date->format('Y-m-d')) {
return [['00:00', '23:59:59']];
}
return ;
});
The text was updated successfully, but these errors were encountered:
Hi guys, could you advise how can I set Saturday or Sunday as working day only in some cases( not always)?
The special day evaluator requires return an array of opening intervals.
This doesn't work:
new SpecialDay(Days::SATURDAY, function (\DateTime $date) {
if ('2015-05-29' === $date->format('Y-m-d')) {
return [['00:00', '23:59:59']];
}
return ;
});
The text was updated successfully, but these errors were encountered: