start time format fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc 2023-12-08 17:08:01 +01:00
parent 4cd928fdc6
commit c3ad8d5d2d

View File

@ -29,7 +29,7 @@ func NewRedisRouter(server *Identity, redisUrl string, password string, db int,
r.InvitationTimeout = invitationTimeout r.InvitationTimeout = invitationTimeout
r.Context = context.Background() r.Context = context.Background()
// set start for uptime // 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 { if err != nil {
panic(err) panic(err)
} }