From: Anthony Talarico Date: Tue, 10 Nov 2015 16:59:23 +0000 (-0500) Subject: adding print test for debugging X-Git-Tag: v1.0.0^2~299 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=399376c67aa44391e432cc890f6ec702f63a9e93;p=WP-Themes%2Fstaffords.git adding print test for debugging --- diff --git a/js/app.js b/js/app.js index 2aeccdb..f75e4ff 100644 --- a/js/app.js +++ b/js/app.js @@ -128,6 +128,7 @@ $(document).ready(function () { m = arrival.getMonth() + 1; y = arrival.getFullYear(); minDays = y + '-' + m + '-' + dd; + alert(minDays); arrival = d + '-' + m + '-' + y; // to pass as a date value in the url start = "arrival_date=" + y + '-' + m + '-' + d + '&'; // for date parsing to get length of stay arrival.toString(); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index e1c9f35..ba34cfc 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -119,6 +119,7 @@ $(document).ready(function () { m = arrival.getMonth() + 1; y = arrival.getFullYear(); minDays = y + '-' + m + '-' + dd; + alert(minDays); arrival = d + '-' + m + '-' + y; // to pass as a date value in the url start = "arrival_date=" + y + '-' + m + '-' + d + '&'; // for date parsing to get length of stay arrival.toString();