diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2019-08-29 13:41:17 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2019-08-30 10:55:12 +0200 |
commit | 06f69700af0bb312f08f9455f127abf452896d48 (patch) | |
tree | 7103787d792bcfbc1173c3be751f817d0a159690 /tests/benchmarks/corelib/plugin | |
parent | 2faa6cafa91b4478d129ec570d1cd8e6ed2f147d (diff) |
Fix some bogus date calculations in QDateTime's benchmark
Multiplying a Julian Day number by the number of milliseconds per day
does not get you a time since the start of 1970; it gets you a time
since the start of the Julian Day number system, which was several
millennia earlier.
Change-Id: Ic90a6c3de445baf9cfd30f28dd847f146e6a7adf
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests/benchmarks/corelib/plugin')
0 files changed, 0 insertions, 0 deletions