Commits

Mark Sundstrom  committed d7d2d3f

darkness.py should use UTC since that is what the webcam wants

  • Participants
  • Parent commits 3bd55f6
  • Branches default

Comments (0)

Files changed (1)

 print(observer)
 sun = ephem.Sun()
 rising = observer.next_rising(sun, use_center=True)
-print("Dawn:", ephem.localtime(rising))
+print("Dawn:", rising)
 setting = observer.next_setting(sun, use_center=True)
-print("Dusk:", ephem.localtime(setting))
+print("Dusk:", setting)
+print("Both times in UTC")