fix: anchor growth forecasts to real Tehran date
This commit is contained in:
@@ -295,7 +295,7 @@ func (r *Repository) DatasetMetadata(ctx context.Context) (string, time.Time, er
|
||||
if err != nil {
|
||||
return "", time.Time{}, fmt.Errorf("loading growth dataset metadata: %w", err)
|
||||
}
|
||||
return sha + ":" + latest.Format(time.DateOnly), latest.AddDate(0, 0, 1), nil
|
||||
return sha + ":" + latest.Format(time.DateOnly), latest, nil
|
||||
}
|
||||
|
||||
func (r *Repository) CleanupSuperseded(ctx context.Context, cutoff time.Time) (int64, error) {
|
||||
|
||||
Reference in New Issue
Block a user