Store timestamp as UTC
ClosedPublic

Authored by chinmoyr on Dec 11 2018, 12:34 PM.

Details

Summary

In cases where mtime, ctime and atime are displayed (KPropertiesDialog, RenameDialog, etc) KFileItem::time() does the task of converting them to local time.
In all other cases storing them as UTC will suffice.

Test Plan
  1. RenameDialog shows correct mtime
  2. KPropertiesDialog shows correct mtime,ctime and atime.

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
chinmoyr created this revision.Dec 11 2018, 12:34 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 11 2018, 12:34 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
chinmoyr requested review of this revision.Dec 11 2018, 12:34 PM
dfaure accepted this revision.Dec 11 2018, 12:46 PM
This revision is now accepted and ready to land.Dec 11 2018, 12:46 PM
This revision was automatically updated to reflect the committed changes.