Infos:
Important:
If you are a Zammad Support or hosted customer and experience a technical issue, please refer to: support@zammad.com using your zammad-hostname / or company contract.
- Used Zammad version: 2.6
- Used Zammad installation source: package
- Operating system: Debian 9
- Browser + version: Chrome latest
Expected behavior:
- Rails and server should report the same timezone
Actual behavior:
- I’m trying to schedule a job to run one hour ahead but Zammad was scheduling task to next week. So I went:
root@zammad~# date
Thu Oct 18 10:04:53 -03 2018
root@zammad:~#
And
root@zammad:~# zammad run rails r "puts Time.zone.now"
2018-10-18 13:05:49 UTC
root@zammad:~#
I didn’t find mentions about timezone in docs.
So a I added to /opt/zammad/config/application.rb:
config.time_zone = "Brasilia"
And now rails reports the same hour and scheduling works as expected.
Is this the right thing to do?
Thank you