From e88e8fced76707cf2793fb6cd46d7f4391c01d5c Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 2 Nov 2015 11:47:43 -0500 Subject: [PATCH] Changing format in minimum date for html5 input for testing --- js/app.js | 2 +- js/custom/pageSetup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index 36d9857..9828d83 100644 --- a/js/app.js +++ b/js/app.js @@ -96,7 +96,7 @@ $(document).ready(function () { d = today.getDate() + 2; m = today.getMonth() + 1; y = today.getFullYear(); - requiredDate = y + '/' + m + '/' + d; + requiredDate = y + '-' + m + '-' + d; //$("#date2").val(requiredDate); $("#date2").datepicker({ diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index a653a2c..3cee46d 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -87,7 +87,7 @@ $(document).ready(function () { d = today.getDate() + 2; m = today.getMonth() + 1; y = today.getFullYear(); - requiredDate = y + '/' + m + '/' + d; + requiredDate = y + '-' + m + '-' + d; //$("#date2").val(requiredDate); $("#date2").datepicker({ -- 2.17.1