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 fdf769875fb70f61476510a09ff8d5c3c214a2ee..8b7438bb7fc80502aa35612ef0bc5c4cd67ea56f 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
 }