[Development] QDateTime::currentDateTime().toString(Qt::SystemLocaleLongDate) returns as if the DST was still in effect
Thiago Macieira
thiago.macieira at intel.com
Mon Oct 29 17:09:48 CET 2012
On segunda-feira, 29 de outubro de 2012 16.28.17, Jan Kundrát wrote:
> So, given that `date` reports the time correctly, I suspect that Qt is using
> some strange way of obtaining the TZ information. Do you have any ideas
> about what is confusing it to believe that DST is still active on this box?
> Please note that the actual hours being displayed are always correct, it's
> just the TZ indication which is off.
It's got to be a glibc bug.
We only do:
tzset();
localtime();
Since we don't do anything special, I'm forced to conclude that the bug is in
glibc.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121029/522732f8/attachment.sig>
More information about the Development
mailing list