diff options
authorEdward Welbourne <>2018-06-14 12:18:20 +0200
committerMårten Nordheim <>2018-06-21 10:40:43 +0000
commit9f8938b89a67ff8da148b7b865576a3d5584c610 (patch)
tree87c39c3d1488ccaed16cb568aa173ce94d89f316 /LICENSE.QT-LICENSE-AGREEMENT-4.0
parentb248a35a090585dc81b52b3113a3a6a2926b9c50 (diff)
Cope if mktime() deems times in a spring forward gap to be invalid
In tst_QDateTime::springForward(), we test correct handling of times in the gap; these are formally invalid and a mktime() implementation may reasonably reject them causing our date-time code to produce an invalid result. So handle that case gracefully in the tests, only insisting on consistency between the two ways of preparing the date. In one test, package the repeated code I was going to adapt into a macro to save repeitition. Task-number: QTBUG-68832 Task-number: QTBUG-68839 Change-Id: Ib8a16ff007f4e75ab2ccff05b1ccf00a45e50dc8 Reviewed-by: Thiago Macieira <> Reviewed-by: Mårten Nordheim <>
Diffstat (limited to 'LICENSE.QT-LICENSE-AGREEMENT-4.0')
0 files changed, 0 insertions, 0 deletions