Skip to content

The timezone passed is required to be the hosts timezone #3

Open
@fieldfoxWim

Description

@fieldfoxWim

Hi

This is a very useful library, plain and simple.

I just want to point out an issue I stumbled upon.

The timezone passed in the constructor is required to be the timezone of the host. I had the issue because I test successfully on my local machine (in EUROPE/Brussels), but when deploying on docker container it failed.

The reason is that a docker container by default uses UTC. And having configured a timezone, the Next firing time is off by 2hours. (CEST vs UTC).

My expectation was that it would just execute all calculations based on the timezone. It would then be possible to expect a trigger every day at 14:00 in EUROPE/Brussels, while running on a UTC host.

Thanks for the effort, hope this helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions