You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably a good idea in the context of Rails in general but wasn't obvious to me,
Given the above I don't think it's the responsibility of this gem to maintain the timezone, but it may be worth a note in the Timezones section of the readme
I've noticed something that was surprising to me. It seems as though setting the Timezone for the scheduler is not persisted to the child threads.
This should illustrate the issue
The output of this is
Timezone is: EtOrbi zone: Europe - Belfast
In the parent the timezone is Asia/Shanghai
I'd expected for the thread to have the same timezone as the scheduler.
For now I'm explicitly setting the timezone in the do block, but just wondered whether the above was intended
We are on rufus-scheduler 3.8.2
The text was updated successfully, but these errors were encountered: