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

use local time instead of utc for atScheduling #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

postromantic
Copy link

I got GMT+3 time zone, so when i write
gron.Every(1 * xtime.Day).At("19:32")
i expect function will be triggered at 19:32 local time, not UTC time (which is 3 hours difference in my case).
Tests are green, looks like no side effects.

@roylee0704
Copy link
Owner

roylee0704 commented Aug 31, 2016

@postromantic Good catch! I'm considering a parameter for time.location, what do you think of that? :)

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

Successfully merging this pull request may close these issues.

2 participants