From 3c424253ef3418fbd6df7517eaf19253002972d1 Mon Sep 17 00:00:00 2001 From: ThallamSrinivas Date: Thu, 7 Dec 2023 17:03:14 +0530 Subject: [PATCH] 'timeLeaveStamp' and 'timemeetStamp' variables were not coming as intended in 'logic.js' file. minor syntax change --- logic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logic.js b/logic.js index e06321c..5c8ecb6 100644 --- a/logic.js +++ b/logic.js @@ -15,10 +15,10 @@ var oneLoc = new Location(firstPerson, firstLocation, 'one'); //first person's n var twoLoc = new Location(secondPerson, secondLocation, 'two'); //first person's name as string, location (City, Country) as string //last day of contact (year, month, day) -var timeLeaveStamp = new Date(2020, 01, 01); +var timeLeaveStamp = new Date("2020, 01, 01"); //first day of renewed contact (year, month, day) -var timeMeetStamp = new Date(2024, 11, 25); +var timeMeetStamp = new Date("2024, 11, 25"); //earliest and latest time appropirate for call var earliestCall = 8;