Permalink
Browse files

dbhub: Include TZ with lastmodified date sent to server

  • Loading branch information...
justinclift committed Oct 1, 2017
1 parent c692ae0 commit 64b33413fbd289cceb2837b700bca621326ac615
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/RemoteDatabase.cpp
@@ -462,7 +462,7 @@ void RemoteDatabase::push(const QString& filename, const QString& url, const QSt

// Get the last modified date of the file and prepare it for conversion into the ISO date format
QDateTime last_modified = QFileInfo(filename).lastModified();
last_modified.setTimeSpec(Qt::OffsetFromUTC);
last_modified.setTimeSpec(Qt::TimeZone);
last_modified.setTimeZone(QTimeZone::systemTimeZone());

// Prepare HTTP multi part data containing all the information about the commit we're about to push

0 comments on commit 64b3341

Please sign in to comment.