From 399376c67aa44391e432cc890f6ec702f63a9e93 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 10 Nov 2015 11:59:23 -0500 Subject: [PATCH] adding print test for debugging --- js/app.js | 1 + js/custom/pageSetup.js | 1 + 2 files changed, 2 insertions(+) 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(); -- 2.17.1