Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.14.1
-
None
-
-
c53cccc171c2da803cfd247e95c5dd48e5610c3b b34158d7a1e89e5e7b32d3425c3df52aacedbb31 (qt/qtbase/5.15)
Description
Hello, under Android, the standardTimeOffset function of the QTimeZone class always returns zero.
For example, the following simple code returns 3600 on Windows, Ubuntu and macOS but returns 0 on Android.
QTimeZone tzEph("Europe/Paris");
QDate dateEph;
QTime timeEph;
dateEph.setDate(Annee, Mois, Jour);
timeEph.setHMS(Heu, Min, Sec);
QDateTime dtEph = QDateTime(dateEph, timeEph, tzEph);
qDebug() << tzEph.standardTimeOffset(dtEph);
Franck
Attachments
Issue Links
- resulted from
-
QTBUG-68842 tst_QDateTime::timeZones fail on Android
- Closed