Swedish dates [was: Re: test binaries for Beta 5]

Thiago Macieira thiago at macieira.org
Wed Aug 6 12:24:56 PDT 2014


On Wednesday 06 August 2014 10:36:26 Dirk Hohndel wrote:
> > “Sön 6 jul, 2014” will work in all cases.
> 
> I don't think I can easily tell Qt not to use ordinals here. Even though
> the wiki above seems to say that that's preferred for dates.
> 
> Thiago?

Looks like the QLocale data is faulty somehow.

I asked the bot on IRC and it replied:

14:40 <+thiago> qout: { QLocale l("sv-SE"); qDebug() << l.toString(QDate(2014, 
8, 1), QLocale::LongFormat); }
14:40 <+qout> "fredagen den 1:e augusti 2014"

I know we process the CLDR data from unicode.org, but a rule like "use this on 
day 1 and use that on other days" is definitely not part of Qt. Most likely, we 
failed to parse and will need to add an exception.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358



More information about the subsurface mailing list