X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=official%2Flighting-director.groovy;h=8b7438bb7fc80502aa35612ef0bc5c4cd67ea56f;hb=7120a4d615f4a10905a4d21901c93b42faf1555e;hp=fdf769875fb70f61476510a09ff8d5c3c214a2ee;hpb=0f56f41c4f675e201058f9ccf9fb7d3c7a113edb;p=smartapps.git diff --git a/official/lighting-director.groovy b/official/lighting-director.groovy index fdf7698..8b7438b 100755 --- a/official/lighting-director.groovy +++ b/official/lighting-director.groovy @@ -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 }