Run to UTC
This commit is contained in:
@@ -132,7 +132,7 @@ func (p *PrometheusService) Stream(ctx context.Context, bookingID string, interv
|
||||
if e.ExpectedEndDate == nil {
|
||||
return true
|
||||
}
|
||||
return time.Now().Before(*e.ExpectedEndDate)
|
||||
return time.Now().UTC().Before(*e.ExpectedEndDate)
|
||||
}
|
||||
|
||||
ticker := time.NewTicker(interval)
|
||||
|
||||
Reference in New Issue
Block a user