Skip to content

Commit

Permalink
late night time changes
Browse files Browse the repository at this point in the history
  • Loading branch information
trifunovski committed Sep 10, 2014
1 parent 9ee5e2e commit e5e48b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FoodyCall/static/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit e5e48b7

Please sign in to comment.