aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/result_analyse/GpgSignResultAnalyse.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-03-02 18:22:27 +0000
committersaturneric <[email protected]>2024-03-02 18:22:27 +0000
commit3a0b2bd05af92fff313dcc6fa34fb87ac8030746 (patch)
tree420cc23dc12ca947e39906981c8814e04b51e0c4 /src/core/function/result_analyse/GpgSignResultAnalyse.cpp
parentfix: change GpgFrontend to Gpg Frontend on linux platform (diff)
parentfeat: add user agent header when doing http request (diff)
downloadGpgFrontend-3a0b2bd05af92fff313dcc6fa34fb87ac8030746.tar.gz
GpgFrontend-3a0b2bd05af92fff313dcc6fa34fb87ac8030746.zip
Merge branch 'dev/2.1.2/main' into develop
Diffstat (limited to 'src/core/function/result_analyse/GpgSignResultAnalyse.cpp')
-rw-r--r--src/core/function/result_analyse/GpgSignResultAnalyse.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/function/result_analyse/GpgSignResultAnalyse.cpp b/src/core/function/result_analyse/GpgSignResultAnalyse.cpp
index 3f3040b8..e02996b3 100644
--- a/src/core/function/result_analyse/GpgSignResultAnalyse.cpp
+++ b/src/core/function/result_analyse/GpgSignResultAnalyse.cpp
@@ -103,11 +103,9 @@ void GpgSignResultAnalyse::doAnalyse() {
stream_ << "- " << tr("Hash Algo") << ": "
<< gpgme_hash_algo_name(new_sign->hash_algo) << Qt::endl;
stream_ << "- " << tr("Sign Date") << "(" << tr("UTC") << ")"
- << ": "
- << QDateTime::fromSecsSinceEpoch(new_sign->timestamp).toString()
- << Qt::endl;
+ << ": " << GetUTCDateByTimestamp(new_sign->timestamp) << Qt::endl;
stream_ << "- " << tr("Sign Date") << "(" << tr("Localized") << ")"
- << ": " << GetFormatedDateByTimestamp(new_sign->timestamp)
+ << ": " << GetLocalizedDateByTimestamp(new_sign->timestamp)
<< Qt::endl;
stream_ << Qt::endl