Browse Source

slightly changed night time

master
edoardoo 10 years ago
parent
commit
23e34da5ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main.js

+ 1
- 1
main.js View File

@ -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;


Loading…
Cancel
Save