gron
gron copied to clipboard
use local time instead of utc for atScheduling
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 Good catch! I'm considering a parameter for time.location, what do you think of that? :)