store: return utc time to user
parent
3a83ab1b71
commit
773f112a5d
|
@ -150,7 +150,8 @@ func (n *node) expirationAndTTL(clock clockwork.Clock) (*time.Time, int64) {
|
||||||
if (ttlN % time.Second) > 0 {
|
if (ttlN % time.Second) > 0 {
|
||||||
ttl++
|
ttl++
|
||||||
}
|
}
|
||||||
return &n.ExpireTime, int64(ttl)
|
t := n.ExpireTime.UTC()
|
||||||
|
return &t, int64(ttl)
|
||||||
}
|
}
|
||||||
return nil, 0
|
return nil, 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue