Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing incorrect time (using wrong timezone?) #42

Open
TheIcemanCometh opened this issue Oct 16, 2020 · 1 comment
Open

Showing incorrect time (using wrong timezone?) #42

TheIcemanCometh opened this issue Oct 16, 2020 · 1 comment

Comments

@TheIcemanCometh
Copy link

TheIcemanCometh commented Oct 16, 2020

As I write this, I have a cron set to run at 7:00am Eastern Time (currently GMT-5). The cron actually runs at the specified time, but the human readable form says it's not going to run again until 3:00am tomorrow. It seems prettycron is not using the local system's timezone information. I did not see anything in the documentation to set this.

Added some additional information to the output:

Runs Tomorrow at 3:00 AM [0 7 * * *], locale is en, time is 07:09:30, timezone offset is 240

@egeersoz
Copy link

Yeah, it seems to completely ignore timezones.

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

No branches or pull requests

2 participants