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

Wrong times #16

Open
karuney opened this issue Aug 9, 2020 · 6 comments
Open

Wrong times #16

karuney opened this issue Aug 9, 2020 · 6 comments

Comments

@karuney
Copy link

karuney commented Aug 9, 2020

So first issue is that it isn't using my server time, the original time it had it in is Ghana and my time/server time is CST. When trying to adjust when I would try and do -5 or -6 hours because that is how far ahead it was it would actually bump it up in time.

@NiklasEi
Copy link
Owner

NiklasEi commented Aug 9, 2020

Could you please make sure that your server time is really ahead of the time that you want?
The offset supports negative numbers, so if the machine your server is running on has Ghana time and you would like all your events to be called in CST, an offset of -5 would be correct.

@karuney
Copy link
Author

karuney commented Aug 9, 2020

I made sure before making this, everything related to server time is showing CST except this

@NiklasEi
Copy link
Owner

NiklasEi commented Aug 9, 2020

If your server time is CST, but you would like your events to be scheduled in Ghana (CST +5), then the offset should be 5, not -5.

To be sure that I am understanding correctly: The timestamps in your server log are CST, but you would like the events to be in CST +5, right? Or the other way around?

@karuney
Copy link
Author

karuney commented Aug 9, 2020

My server is in CST and my events are not, server logs are saying times in CST as well as my scheduler program is in CST which is default to server time. The plugin (this one) is running events of CST +5 which i don't want it to do.

For example I did it ran the event at 9 CST when it was scheduled for 14 CST (which is 5 hours ahead) when I changed it to be -5 hours to try and calculate it correctly it instead jumped it an hour ahead, so 6 hours ahead instead of 5.

@karuney
Copy link
Author

karuney commented Aug 9, 2020

image
image

@NiklasEi
Copy link
Owner

NiklasEi commented Aug 9, 2020

Thank you for the images. The event list with the next calls currently ignores the configured offset (see #15 ). There seems to be an offset of 1h between your config and the scheduled times. I will look into that.
Thanks for reporting the issue.

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