Update lighting-director.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Fri, 9 Aug 2019 19:37:12 +0000 (12:37 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 9 Aug 2019 19:37:12 +0000 (12:37 -0700)
official/lighting-director.groovy

index fdf7698..8b7438b 100755 (executable)
@@ -414,7 +414,7 @@ def getDesc(scenario) {
 
 
 def getMidnight() {
-       def midnightToday = timeToday("2000-01-01T23:59:59.999-0000", location.timeZone)
+       def midnightToday = timeToday("23:59", location.timeZone)
        midnightToday
 }