From: Anthony Talarico Date: Mon, 2 Nov 2015 16:47:43 +0000 (-0500) Subject: Changing format in minimum date for html5 input for testing X-Git-Tag: v1.0.0^2~56 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e88e8fced76707cf2793fb6cd46d7f4391c01d5c;p=WP-Themes%2Fbpla.git Changing format in minimum date for html5 input for testing --- 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({