From: Seyed Amir Hossein Aqajari Date: Fri, 9 Aug 2019 19:37:12 +0000 (-0700) Subject: Update lighting-director.groovy X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7120a4d615f4a10905a4d21901c93b42faf1555e;p=smartapps.git Update lighting-director.groovy --- 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 }