diff options
author | saturneric <[email protected]> | 2025-01-31 17:36:23 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-01-31 17:36:52 +0000 |
commit | 9379d105cdb8ae4f9a92037725f3e8cbb287d304 (patch) | |
tree | b678f86878736695cbd86ab3d2dc0fb5d5f9350e | |
parent | refactor: code clean up (diff) | |
download | GpgFrontend-9379d105cdb8ae4f9a92037725f3e8cbb287d304.tar.gz GpgFrontend-9379d105cdb8ae4f9a92037725f3e8cbb287d304.zip |
fix: use yyy-MM-dd format of create date on key list
-rw-r--r-- | src/core/model/GpgKeyTableModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/model/GpgKeyTableModel.cpp b/src/core/model/GpgKeyTableModel.cpp index ec59ceb6..17a59a3a 100644 --- a/src/core/model/GpgKeyTableModel.cpp +++ b/src/core/model/GpgKeyTableModel.cpp @@ -101,7 +101,7 @@ auto GpgKeyTableModel::data(const QModelIndex &index, return key.GetId(); } case 7: { - return QLocale().toString(key.GetCreateTime()); + return QLocale().toString(key.GetCreateTime(), "yyyy-MM-dd"); } case 8: { return key.GetKeyAlgo(); |