diff --git a/app/request/forms.py b/app/request/forms.py index a139a70d6..e02af2a34 100644 --- a/app/request/forms.py +++ b/app/request/forms.py @@ -91,7 +91,7 @@ class AgencyUserRequestForm(Form): request_agency = SelectField('Agency (required)', choices=None) request_title = StringField('Request Title (required)') request_description = TextAreaField('Request Description (required)') - request_date = DateTimeField("Date (required)", format="%Y-%m-%d", default=datetime.today) + request_date = DateTimeField("Date (required)", format="%m/%d/%Y", default=datetime.today) # Personal Information # TODO: when refactoring these classes, include length and other validators diff --git a/app/static/js/request/new-request-agency.js b/app/static/js/request/new-request-agency.js index d750517b2..a97bc5b32 100755 --- a/app/static/js/request/new-request-agency.js +++ b/app/static/js/request/new-request-agency.js @@ -56,7 +56,7 @@ $(document).ready(function () { // Datepicker for date request was received when creating a new request $(".dtpick").datepicker({ - dateFormat: "yy-mm-dd", + dateFormat: "mm/dd/yy", maxDate: 0 }).keydown(function (e) { // prevent keyboard input except for tab diff --git a/app/templates/request/events/row.html b/app/templates/request/events/row.html index 5aa0964ad..ba0e24450 100644 --- a/app/templates/request/events/row.html +++ b/app/templates/request/events/row.html @@ -5,7 +5,7 @@ {{ row_num }}
Expected date of completion: {{ moment(response.date).format('dddd, MMMM D, YYYY [at] h:mm A')}}
+Expected date of completion: {{ moment(response.date).format('dddd, MM/DD/YYYY [at] h:mm A')}}
{% if response.reason is not none %}{{ response.reason }}
{% endif %} {% elif response.dtype == determination_type.EXTENSION %} -Due date changed to: {{ moment(response.date).format('dddd, MMMM D, YYYY [at] h:mm A') }}
+Due date changed to: {{ moment(response.date).format('dddd, MM/DD/YYYY [at] h:mm A') }}
{% if response.reason is not none %}{{ response.reason }}
{% endif %} diff --git a/app/templates/request/responses/row.html b/app/templates/request/responses/row.html index 4fb02095e..9bc0775f1 100644 --- a/app/templates/request/responses/row.html +++ b/app/templates/request/responses/row.html @@ -1,15 +1,15 @@