Loading CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ The format is based on [keep a changelog](http://keepachangelog.com/) and this p ### Fixed - Haystack leaderboard record listings now return correct results around both sides of the pivot record. - Haystack leaderboard record listings now return a complete page even when the pivot record is at the end of the leaderboard. - CRON expression runtime function now correctly uses UTC as the timezone for input timestamps. ## [1.0.2] - 2017-09-29 ### Added Loading server/runtime_nakama_module.go +1 −1 Original line number Diff line number Diff line Loading @@ -431,7 +431,7 @@ func (n *NakamaModule) cronNext(l *lua.LState) int { l.ArgError(1, "expects a valid cron string") return 0 } t := time.Unix(ts, 0) t := time.Unix(ts, 0).UTC() next := expr.Next(t) nextTs := next.UTC().Unix() l.Push(lua.LNumber(nextTs)) Loading Loading
CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ The format is based on [keep a changelog](http://keepachangelog.com/) and this p ### Fixed - Haystack leaderboard record listings now return correct results around both sides of the pivot record. - Haystack leaderboard record listings now return a complete page even when the pivot record is at the end of the leaderboard. - CRON expression runtime function now correctly uses UTC as the timezone for input timestamps. ## [1.0.2] - 2017-09-29 ### Added Loading
server/runtime_nakama_module.go +1 −1 Original line number Diff line number Diff line Loading @@ -431,7 +431,7 @@ func (n *NakamaModule) cronNext(l *lua.LState) int { l.ArgError(1, "expects a valid cron string") return 0 } t := time.Unix(ts, 0) t := time.Unix(ts, 0).UTC() next := expr.Next(t) nextTs := next.UTC().Unix() l.Push(lua.LNumber(nextTs)) Loading