We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40e21c5 commit 7d09a33Copy full SHA for 7d09a33
nowcasting_datamodel/read/read.py
@@ -384,10 +384,10 @@ def get_latest_forecast_for_gsps(
384
forecast.created_utc = forecast.created_utc.replace(tzinfo=timezone.utc)
385
if forecast.historic:
386
for forecast_value in forecast.forecast_values_latest:
387
- forecast_value.created_utc = forecast.created_utc.replace(tzinfo=timezone.utc)
+ forecast_value.created_utc = forecast_value.created_utc.replace(tzinfo=timezone.utc)
388
else:
389
for forecast_value in forecast.forecast_values:
390
391
392
return forecasts
393
0 commit comments