gron icon indicating copy to clipboard operation
gron copied to clipboard

use local time instead of utc for atScheduling

Open postromantic opened this issue 8 years ago • 1 comments

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.

postromantic avatar Aug 30 '16 17:08 postromantic

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

roylee0704 avatar Aug 31 '16 08:08 roylee0704