From e5e48b78f5944d54823a7fe4f020eb7d2793739d Mon Sep 17 00:00:00 2001 From: mtrifunovski Date: Wed, 10 Sep 2014 17:31:55 -0400 Subject: [PATCH] late night time changes --- FoodyCall/static/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FoodyCall/static/app.js b/FoodyCall/static/app.js index d9456f4..9b0e4bd 100644 --- a/FoodyCall/static/app.js +++ b/FoodyCall/static/app.js @@ -26,10 +26,10 @@ timeCheck = function () { if(isBetween(now, time(17,30), time(21,0))) { return "Summies Dinner"; } - if(isBetween(now, time(21,30), time(23,59).add(1, 'd'))) { + if(isBetween(now, time(21,30), time(23,59))) { return "Late Night"; } - if(isBetween(now, time(0,0), time(1,0).add(1, 'd'))) { + if(isBetween(now, time(00,00), time(01,00))) { return "Late Night"; } return "No";