GNOME Bugzilla – Bug 689495
WorldClocks: use the new GWeather abilities to find if it's daytime or not
Last modified: 2012-12-02 21:05:00 UTC
GWeatherInfo has a new is_daytime() method, which does what gnome-clocks needs and additionally accounts for locations within the polar circles. Also, GWeatherInfo no longer requires an update to get astronomical data, which means we can avoid hitting the network.
Created attachment 230461 [details] [review] WorldClocks: use the new GWeather abilities to find if it's daytime or not
Review of attachment 230461 [details] [review]: I just mentioned this to weld on irc, but it looks like you beat him to it :-) Looks great
Attachment 230461 [details] pushed as b332ba9 - WorldClocks: use the new GWeather abilities to find if it's daytime or not