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
Thanks @JoeyXitres can confirm this is a bug I experienced as well. It seems a delay in minutes under 1 hour doesn't send. it does appear to send after being delayed 1 hour after the timestamp_target in my testing.
I think the fix proposed will work. I'm working on testing it now.
On line 55 in the AfterConstraint, it's compared with diffInHours. This should be in minutes, since Hours already is checked above.
$diff = (int) $schedule->timestamp_target->diffInHours(
now()->floorSeconds(),
absolute: true
);
This causes that now() diff in hours always is 0.
See line 60, delay min, but compared to diffInHours.
FIX
$diff = (int) $schedule->timestamp_target->diffInMinutes(
now()->floorSeconds(),
absolute: true
);
The text was updated successfully, but these errors were encountered: