[Development] P0 Mac help needed due to Daylight savings

Rolland Dudemaine rolland at ghs.com
Mon Mar 27 07:03:25 CEST 2017


Daylight savings are not done at midnight, but at 2am. See https://en.m.wikipedia.org/wiki/Daylight_saving_time
Seems like Mac is correct, and the test should not fail.

--Rolland
________________________________
De: Thiago Macieira <thiago.macieira at intel.com>
Envoyé: 26 mars 2017 8:12 PM
À: development at qt-project.org
Objet: [Development] P0 Mac help needed due to Daylight savings


This test began failing today:

FAIL!  : tst_QLocale::macDefaultLocale()
'timeString.contains(expectedGMTSpecifier) ||
timeString.contains(expectedGMTSpecifierZeroExtended)' returned FALSE.
(timeString `1:02:03 AM GMT+02:00', expectedGMTSpecifier `GMT+3' or `GMT+03')

The expectation is correct, since Finland is now in Summer time at GMT+3.
Someone on a Mac, please check why it's getting GMT+02.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20170327/8689053f/attachment.html>


More information about the Development mailing list