aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorConfuSomu2023-04-04 00:10:58 -0400
committerConfuSomu2023-04-04 00:17:56 -0400
commit3095e11bfaba99fe4fb598a53914b80979aafe0f (patch)
treef573654eed84e75a515f32768b563b828b0bdc40 /src/mainwindow.h
parent14294369e2ee7e4914757054693fe77b450f7405 (diff)
downloadActorViewer-3095e11bfaba99fe4fb598a53914b80979aafe0f.tar
ActorViewer-3095e11bfaba99fe4fb598a53914b80979aafe0f.tar.gz
ActorViewer-3095e11bfaba99fe4fb598a53914b80979aafe0f.zip
Display Activity publish date following locale
This is an improved user experience over displaying the raw ISO 8601 date stored in the ActivityStream JSON-LD.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index c37ce28..8bfa3b2 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -2,6 +2,7 @@
#include <QMainWindow>
#include <QListWidgetItem>
+#include <QLocale>
#include <qobjectdefs.h>
#include "archive_parser.h"
@@ -51,4 +52,6 @@ private:
bool view_filters_changed = false;
Archive *data_archive = nullptr;
+
+ QLocale locale_context;
};