Show time without seconds in timeline

This commit is contained in:
Tobias Fella
2024-07-21 17:32:12 +02:00
parent b34525a4d8
commit 2df2e39d43
4 changed files with 9 additions and 1 deletions

View File

@@ -98,6 +98,8 @@ public:
*/
QString getTimeString(bool relative, QLocale::FormatType format = QLocale::ShortFormat, bool isPending = false, QDateTime lastUpdated = {}) const;
QString getTimeString(const QString &format, bool isPending = false, const QDateTime &lastUpdated = {});
/**
* @brief Whether the event should be highlighted in the timeline.
*