Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dbhub: Include TZ with lastmodified date sent to server
  • Loading branch information
justinclift committed Oct 1, 2017
1 parent c692ae0 commit 64b3341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RemoteDatabase.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 64b3341

Please sign in to comment.