Comment 12 for bug 579134

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

ok, looking at it, all seems good for French locale (it's translated and such), but indicator is still 12 hour format.

In src/indicator-datetime:
The thing is this function (which is working fine), is only picked up on property changes
(call in set_property for gchar * newformat = generate_format_string(self);)
But on initialization, all property are already set by the constructor and no update is required (no gsetting value change), so:

    if (!update) {
        return;
    }
sadly exit before getting any chance to execute the right function :-)

So, two solution: for a refresh on first set or call generate_format_string() somewhere else during object init.