From d49ff673d7a0fa31f8978426023270ec212d938c Mon Sep 17 00:00:00 2001 From: abhigyanghosh30 Date: Fri, 4 Oct 2024 14:42:50 +0530 Subject: [PATCH] change max reschedule date to 365 days --- webapp/shop/cred/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/shop/cred/views.py b/webapp/shop/cred/views.py index b02bf47557d..76c5052bf88 100644 --- a/webapp/shop/cred/views.py +++ b/webapp/shop/cred/views.py @@ -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/"