[Qt-interest] QDateTime bug with <= operator ?
Merwin
merwin.irc at gmail.com
Wed Feb 10 09:47:05 CET 2010
Hi,
I got a really strange thing that happens:
qDebug() << beginOfTheYear << beginDate << (beginOfTheYear <= beginDate);
Outputs:
QDateTime("*mer. févr. 10 09:42:01 2010*") QDateTime("*mer. févr. 10
09:42:01 2010*") *false*
As you can see, datetimes are equals, but the comparaison returns false...
Is there a reason or it's a bug?
--
Merwin
More information about the Qt-interest-old
mailing list