You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been doing some testing and this seems to work pretty darn well. Others can try and verify to see if I'm wrong here :)
var tlz, _ = time.LoadLocation("Asia/Kamchatka) scheduler.Every(1).Second().LimitRunsTo(1).Tag("log_" + logUUID.String()).StartAt(time.Now().Add(time.Hour * 8).In(tlz).Add(time.Second * 2)).Do(func() { logSomething("Hello") })
Apparently UTC timezone formatting has a 97 nanoseconds (1 sigma). T accuracy!
Beta Was this translation helpful? Give feedback.
All reactions