diff --git a/server/router.go b/server/router.go index 2740a52..58ce423 100644 --- a/server/router.go +++ b/server/router.go @@ -29,7 +29,7 @@ func NewRedisRouter(server *Identity, redisUrl string, password string, db int, r.InvitationTimeout = invitationTimeout r.Context = context.Background() // set start for uptime - err := r.Client.Set("statistics:start", time.Now(), 0).Err() + err := r.Client.Set("statistics:start", time.Now().Format(time.RFC3339), 0).Err() if err != nil { panic(err) }