From acc9f21e7829bbe7e3a91fa1e96e21f08851317b Mon Sep 17 00:00:00 2001 From: richard-dds Date: Tue, 4 Sep 2018 13:20:37 -0400 Subject: [PATCH] Fix date format --- atst/routes/requests/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atst/routes/requests/index.py b/atst/routes/requests/index.py index c9b15705..6a5cc0f4 100644 --- a/atst/routes/requests/index.py +++ b/atst/routes/requests/index.py @@ -12,7 +12,7 @@ def map_request(request): app_count = request.body.get("details_of_use", {}).get("num_software_systems", 0) annual_usage = request.annual_spend last_submission_timestamp = ( - request.last_submission_timestamp.format("M/DD/YYY") + request.last_submission_timestamp.format("M/DD/YYYY") if request.last_submission_timestamp else "-" )