Yes, I'd like that too. Although I use English locale, I cannot stand 12h 
format.
We don't actually need dconf as dependency. 
GSettings from glib uses dconf as default backend. 
We can use gnome.introspection to access the settings and set a hook for 
changes.
I attached a patch. 
It works when the indicator-datetime format setting is set to 12h or 24h. In 
the other cases is uses the default locale as now.
It also fixes a small bug: when the time has 0 minutes these are stripped away 
currently.


** Patch added: "timeformat.patch"
   
https://bugs.launchpad.net/ubuntu/+source/indicator-weather/+bug/720066/+attachment/1961736/+files/timeformat.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/720066

Title:
  indicator-weather should re-use the time-format of other indicators

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to