GNOME Bugzilla – Bug 682735
Don't try parsing libgweather strings
Last modified: 2012-08-26 19:32:59 UTC
The output of gweather_info_get_sunrise/sunset() is localized. Instead, use gweather_info_get_value_sunrise/get_value_sunset(), which gives directly the time as a unix timestamp.
Created attachment 222482 [details] [review] Don't try parsing libgweather strings
Review of attachment 222482 [details] [review]: Shouldn't we check that ok return value? Anyway please commit
Attachment 222482 [details] pushed as 90b352e - Don't try parsing libgweather strings There should be no need to check ok, as it depends only on the validity of the info (which is guaranteed after updated is emitted)