diff options
author | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2016-01-04 12:13:37 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2016-01-04 12:34:31 +0000 |
commit | 181e6870fbf44416b36efa7c054fad1014dc935d (patch) | |
tree | 554e89fb3cae882f258d378fa604657ead4fc35f /tests/auto/installer | |
parent | 729a282c7c9edf38098f69702234eeabc8a81c06 (diff) |
Fix timezone issue, simply keep the UTC time.
Since we're the only user of the list archive function, do
not convert from UTC. Though once we document the function
it should be mentioned that the user needs to convert it
(e.g. for display purposes etc...).
Change-Id: Icbf8372ddff4f34e3c5a426b983ff25a117d74eb
Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com>
Diffstat (limited to 'tests/auto/installer')
-rw-r--r-- | tests/auto/installer/lib7zfacade/tst_lib7zfacade.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/installer/lib7zfacade/tst_lib7zfacade.cpp b/tests/auto/installer/lib7zfacade/tst_lib7zfacade.cpp index 514df2a2e..7479f7a61 100644 --- a/tests/auto/installer/lib7zfacade/tst_lib7zfacade.cpp +++ b/tests/auto/installer/lib7zfacade/tst_lib7zfacade.cpp @@ -57,7 +57,7 @@ private slots: m_file.uncompressedSize = 5242880; m_file.isDirectory = false; m_file.archiveIndex = QPoint(0, 0); - m_file.mtime = QDateTime(QDate::fromJulianDay(2456413), QTime(12, 50, 42)); + m_file.utcTime = QDateTime(QDate::fromJulianDay(2456413), QTime(10, 50, 42), Qt::UTC); } void testIsSupportedArchive() |