Skip to content

Commit

Permalink
change max reschedule date to 365 days
Browse files Browse the repository at this point in the history
  • Loading branch information
abhigyanghosh30 committed Oct 4, 2024
1 parent e1f5647 commit d49ff67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/shop/cred/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def cred_schedule(
error = None
now = datetime.utcnow()
min_date = (now + timedelta(minutes=30)).strftime("%Y-%m-%d")
max_date = (now + timedelta(days=30)).strftime("%Y-%m-%d")
max_date = (now + timedelta(days=365)).strftime("%Y-%m-%d")
contract_long_id = flask.request.args.get("contractLongID")
is_staging = "staging" in os.getenv(
"CONTRACTS_API_URL", "https://contracts.staging.canonical.com/"
Expand Down

0 comments on commit d49ff67

Please sign in to comment.