[Scheduler] Using same timezone as TriggerInterface::getNextRunDate
one
#49800
Labels
TriggerInterface::getNextRunDate
one
#49800
Symfony version(s) affected
6.3
Description
I'm not sure it's a bug but while working on
debug:scheduler
command and testing the component I find it strange that we don't use the same timezone as the one given in the$run
parameter of thegetNextRunDate
method.Here is an example:
What are your thoughts on it ? I can make the patch but I prefer to ask if it's something that should be done or that we can ignore :)
How to reproduce
Use
TriggerInterface::getNextRunDate
and give him a Timezone that is different from the default timezone you have configured in yourphp.ini
file.The text was updated successfully, but these errors were encountered: