impactoss / impactoss-server

IMPACT OSS - server-side application & API
https://demo.impactoss.org
MIT License
3 stars 8 forks source link

Make sure Clockwork sends emails at timezone specified and not UTC time #372

Closed tmfrnz closed 9 months ago

tmfrnz commented 11 months ago

Currently Clockwork appears to send email notifications at the time specified but assumes UTC https://github.com/impactoss/impactoss-server/blob/nz-justice-development/scheduler.rb

Let's make sure it uses the configured timezone https://github.com/impactoss/impactoss-server/blob/nz-justice-development/config/application.rb#L21

parndt commented 11 months ago

Hmm, this is an interesting one. Looks like we can do it:

image