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;