Comment 8 for bug 1479407

Revision history for this message
Albert Astals Cid (aacid) wrote :

I spent some time on this on yesterday and i can confirm that by having this code in various places of unity-scope-click

click::Date d1;
d1.timestamp = 1437758185; // Yes i made the timestamp member public for that to work
qWarning() << "CCC" << d1.formatted().c_str();

And using hungarian as a language (i.e. Magyar) sometimes the output of the warning is "júl" (with utf8 encoding) and sometimes is just "jl" so it seems like for some reason

    std::stringstream s;
    s << boost::locale::as::date << timestamp;

is formatting things different from one time to another.

From my testing it seems that just after boot it would be "júl" and then after uninstalling something it would be "jl", but need someone with more knowledge of boost, click scope and scopes in general to try to figure out why this formatting change is happening.