Update lighting-director.groovy
[smartapps.git] / 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
 }