diff options
author | saturneric <[email protected]> | 2024-02-26 11:55:50 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-02-26 11:55:50 +0000 |
commit | 17b37d58534c1577be6fdfccc3ad6168d11cc5e4 (patch) | |
tree | 658a59a517fbcb464e8a6eb5ff04d9a4996d0b34 /src/core/function/result_analyse/GpgSignResultAnalyse.cpp | |
parent | fix: improve icons and logo style (diff) | |
download | GpgFrontend-17b37d58534c1577be6fdfccc3ad6168d11cc5e4.tar.gz GpgFrontend-17b37d58534c1577be6fdfccc3ad6168d11cc5e4.zip |
fix: show the real UTC datetime
Diffstat (limited to 'src/core/function/result_analyse/GpgSignResultAnalyse.cpp')
-rw-r--r-- | src/core/function/result_analyse/GpgSignResultAnalyse.cpp | 6 |
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 |