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.

** Changed in: canonical-devices-system-image
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-api in Ubuntu.
https://bugs.launchpad.net/bugs/1479407

Title:
  Unicode in translated dates being lost in app previews

Status in Canonical System Image:
  New
Status in unity-api package in Ubuntu:
  New
Status in unity-scope-click package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  Invalid

Bug description:
  How to reproduce:
   * set the system language to hungarian
   * go to the installed apps scope
   * search an app with update from this month (for example Music)

  what happens?
   * It shows "Utolsó Frissítés (Last Update): 2015 jl. 29"

  what was expected?
   * Utolsó Frissítés: 2015 júl. 29

  So it doesn't show the "speical" characters like: á, é, ó ... etc.
  The following month strings are affected as well: ápr (april), már (march), 
máj (may) jún (june).

  I attached a screenshot too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1479407/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to