aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils/LocalizedUtils.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-18 13:47:17 +0000
committersaturneric <[email protected]>2024-01-18 13:47:17 +0000
commite8d604cf2924ab101c2a102c23d5028473289814 (patch)
tree8eb6eee373c0343b1836fac5aed79b9be83a67dd /src/core/utils/LocalizedUtils.cpp
parentfix: add test cases and solve discovered issues (diff)
downloadGpgFrontend-e8d604cf2924ab101c2a102c23d5028473289814.tar.gz
GpgFrontend-e8d604cf2924ab101c2a102c23d5028473289814.zip
fix: slove discovered bugs
Diffstat (limited to 'src/core/utils/LocalizedUtils.cpp')
-rw-r--r--src/core/utils/LocalizedUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/utils/LocalizedUtils.cpp b/src/core/utils/LocalizedUtils.cpp
index b8c91039..6c020ed7 100644
--- a/src/core/utils/LocalizedUtils.cpp
+++ b/src/core/utils/LocalizedUtils.cpp
@@ -33,6 +33,6 @@
namespace GpgFrontend {
auto GetFormatedDateByTimestamp(time_t timestamp) -> QString {
- return QLocale::system().toString(QDateTime::fromSecsSinceEpoch(timestamp));
+ return QLocale().toString(QDateTime::fromSecsSinceEpoch(timestamp));
}
} // namespace GpgFrontend