diff --git a/main.js b/main.js index d938114..7e2a61c 100644 --- a/main.js +++ b/main.js @@ -101,7 +101,7 @@ function isNightTime(){ var nightHour = 19; var date = new Date(); var hours = date.getHours(); - if( hours > nightHour ) + if( hours >= nightHour ) return true; else return false;