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:
authorOlivier Goffart <ogoffart@woboq.com>2017-09-25 12:49:11 +0300
committerOlivier Goffart <olivier@woboq.com>2017-09-26 17:14:17 +0300
commit13e0cc6b501335c4cda9902905f503483237a46a (patch)
tree66ef6178dc05d0d7280ef0221f394a7ee8d2bfa5 /test/mockserver
parent7af81f76657aa9aed7b3942484f925b9ac9c2574 (diff)
Use QDateTime::currentDateTimeUtc instead of the non utc version
QDateTime::currentDateTime is terribly slow.
Diffstat (limited to 'test/mockserver')
-rw-r--r--test/mockserver/httpserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mockserver/httpserver.cpp b/test/mockserver/httpserver.cpp
index c1f2a0cee..fbc24e847 100644
--- a/test/mockserver/httpserver.cpp
+++ b/test/mockserver/httpserver.cpp
@@ -32,7 +32,7 @@ void HttpServer::readClient()
"Content-Type: text/html; charset=\"utf-8\"\r\n"
"\r\n"
"<h1>Nothing to see here</h1>\n"
- << QDateTime::currentDateTime().toString() << "\n";
+ << QDateTime::currentDateTimeUtc().toString() << "\n";
socket->close();
QtServiceBase::instance()->logMessage("Wrote to client");