Run to UTC
This commit is contained in:
@@ -47,7 +47,7 @@ func (v *VectorService) ListenVector(ctx context.Context, b *booking.Booking, in
|
||||
if b.ExpectedEndDate == nil {
|
||||
return true
|
||||
}
|
||||
return time.Now().Before(*b.ExpectedEndDate)
|
||||
return time.Now().UTC().Before(*b.ExpectedEndDate)
|
||||
}
|
||||
|
||||
ticker := time.NewTicker(interval)
|
||||
|
||||
Reference in New Issue
Block a user