Skip to content

Commit

Permalink
Merge pull request #1274 from gulfofmaine/Match-forecast-visibility
Browse files Browse the repository at this point in the history
Match the default time range for forecast and prediction window
  • Loading branch information
abkfenris authored Dec 6, 2024
2 parents eb0192e + 344fbf4 commit 8521b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/deployments/utils/erddap_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def setup_variables( # noqa: PLR0913
constraints["time>="] = time
elif forecast:
constraints["time>="] = datetime.now(UTC)
constraints["time<="] = datetime.now(UTC) + timedelta(days=7)
constraints["time<="] = datetime.now(UTC) + timedelta(days=3)
else:
constraints["time>="] = datetime.now(UTC) - timedelta(hours=24)
constraints["time<="] = datetime.now(UTC)
Expand Down

0 comments on commit 8521b50

Please sign in to comment.