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
I was preparing some schedule tests for my Laravel package when I encountered the issue. I've noticed that neither ->isDue() or ->nextRunDate() takes ->between() statements (which are essentially ->when()) into account when determining schedules due time.
Steps To Reproduce
Following is the code snippet how I noticed the issue. I'm not sure if this is intended behavior or its missing something. Because for me, it doesn't make sense that ->isDue() or ->nextRunDate() doesn't take ->when() or ->between() statements into account. After all, you designate some time frame in the ->between().
Laravel Version
8.83
PHP Version
7.4
Database Driver & Version
N/A
Description
I was preparing some schedule tests for my Laravel package when I encountered the issue. I've noticed that neither
->isDue()
or->nextRunDate()
takes->between()
statements (which are essentially->when()
) into account when determining schedules due time.Steps To Reproduce
Following is the code snippet how I noticed the issue. I'm not sure if this is intended behavior or its missing something. Because for me, it doesn't make sense that
->isDue()
or->nextRunDate()
doesn't take->when()
or->between()
statements into account. After all, you designate some time frame in the->between()
.The text was updated successfully, but these errors were encountered: