D5672: always use UTC timestamp for PimItem datetime and atime

Martin Koller noreply at phabricator.kde.org
Sun Apr 30 18:06:43 BST 2017


mkoller created this revision.
Restricted Application added a project: KDE PIM.
Restricted Application added a subscriber: KDE PIM.

REVISION SUMMARY
  There were some inconsistent usages of QDateTime::currentDateTime() and QDateTime::currentDateTimeUtc()
  Sometimes items in the DB ended up having local time, most of them UTC (I mainly saw local time on these which had the empty-RID problem).
  This patch now uses always UTC

REPOSITORY
  R165 Akonadi

REVISION DETAIL
  https://phabricator.kde.org/D5672

AFFECTED FILES
  src/private/protocol.cpp
  src/server/cachecleaner.cpp
  src/server/handler/akappend.cpp
  src/server/handler/copy.cpp
  src/server/handler/move.cpp
  src/server/storage/datastore.cpp

To: mkoller, dvratil
Cc: #kde_pim, dvasin, ach, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20170430/4a244fd7/attachment.html>


More information about the kde-pim mailing list