diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2023-03-24 14:45:54 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-04-14 15:19:02 +0200 |
| commit | 28c6868611fda392bd2ab9b5b509466c4e23ddd7 (patch) | |
| tree | 70a886d452ac53e776ec6300975e582b2585e6ca /src/sql/doc/snippets/sqldatabase | |
| parent | f06cc225090c2230e0cc21f03c8395a0aebe5194 (diff) | |
tst_QDateTimeEdit: correct computation of width of gap
Although the zone's daylight time offset is usually the width of the
gap, it's possible the transition is (or includes) a change to
standard time; so determine the actual gap width by comparing the
difference between time a day earlier and later to the usual duration
of two days. Also skip the test if the transition isn't really a gap.
Pick-to: 6.5
Change-Id: I56e381c9f74cfa1806d43b3ed5e4637436ebdf57
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase')
0 files changed, 0 insertions, 0 deletions
