Skip to content

Conversation

@Michal-Leszczynski
Copy link
Collaborator

This problem arisen from the fact that we rely
on the timezone of the time passed to cron trigger for correct calculation of next activation.
We might want to improve that by switching to set
timezone as a part of cron specification, but this is also confusing when we take into consideration
our separate timezone flag (#3818).

In this case, it wasn't done for the time of initial activation kept always in UTC+0 timezone. This resulted in switching from correct timezone to UTC+0 timezone on task reschedule.

Refs #3818
Fixes #4743

This problem arisen from the fact that we rely
on the timezone of the time passed to cron trigger
for correct calculation of next activation.
We might want to improve that by switching to set
timezone as a part of cron specification, but this
is also confusing when we take into consideration
our separate timezone flag (#3818).

In this case, it wasn't done for the time of initial
activation kept always in UTC+0 timezone. This resulted
in switching from correct timezone to UTC+0 timezone
on task reschedule.

Refs #3818
Fixes #4743
@Michal-Leszczynski Michal-Leszczynski force-pushed the ml/4743-correct-tz-on-reschedule branch from 699577d to 3c4bf98 Compare January 21, 2026 23:22
@Michal-Leszczynski Michal-Leszczynski marked this pull request as ready for review January 22, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task rescheduled in wrong timezone

2 participants