framework
framework copied to clipboard
[10.x] Accounting for timezone when calculating lastDayOfTheMonth
This is a hotfix for #49211
This is a draft as a Test needs to be written in tests/Console/Scheduling/FrequencyTest.php.
Given the following:
$schedule->command(ExampleCommand::class)->lastDayOfMonth('23:30');
Should it run the schedule at 23:30 (UTC) or 23:30 (Local)?
@crynobone I believe it should schedule at 23:30 application timezone. So if the config is set to UTC, then it should fire on UTC - from my understanding at least.
Closing because of inactivity.