this was used on line 47:
$schedule->timestamp_target->diffInMinutes(now()->floorSeconds()) >= $schedule->delay_minutes
instead of this:
$schedule->timestamp_target->diffInMinutes(now()->floorSeconds()) === $schedule->delay_minutes
because the second option will work only if mailator will be run every minute, which will probably not happen. So, for example, if the notification should be sent 10m after a target time and when the mailator is run we are more than 20m past it i think this should return true anyway.
fixes #2575
this was used on line 47: $schedule->timestamp_target->diffInMinutes(now()->floorSeconds()) >= $schedule->delay_minutes
instead of this: $schedule->timestamp_target->diffInMinutes(now()->floorSeconds()) === $schedule->delay_minutes
because the second option will work only if mailator will be run every minute, which will probably not happen. So, for example, if the notification should be sent 10m after a target time and when the mailator is run we are more than 20m past it i think this should return true anyway.