Task execution time changed when timezone "Europe/Zurich" (or timezone with time change in spring)
Steps to reproduce:¶
- Set php.ini timezone to "Europe/Berlin" or "Europe/Zurich"
- Add a new repeating task with frequency of 86400 seconds and start 23.03.2023 23:59
- Be sure that actual server date is after the time change in Europe (e. g. 05.04.2023)
- Check the next execution time in the scheduler (it changed from 23:59 to 0:59)
For me this is a bug, because the behavior cannot be expected. Tasks that were set in the "Europe/Berlin" or "Europe/Zurich" time zone must not change the start time, not even after the time change. If I create a task at 23:59, then it needs to run at 23:59 after the time change, and not suddenly 1 hour later at 0:59.