Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/testutility.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutility.cpp b/test/testutility.cpp
index 16fd3066b..cf88acde3 100644
--- a/test/testutility.cpp
+++ b/test/testutility.cpp
@@ -80,7 +80,7 @@ private slots:
quint64 sec = 1000;
quint64 hour = 3600 * sec;
- QDateTime current = QDateTime::currentDateTime();
+ QDateTime current = QDateTime::currentDateTimeUtc();
QCOMPARE(durationToDescriptiveString2(0), QString("0 second(s)") );
QCOMPARE(durationToDescriptiveString2(5), QString("0 second(s)") );