Skip to content

Commit

Permalink
QT6: Fixed issue with unpredictable timezone format
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed Jan 1, 2025
1 parent 8197431 commit 0f83a94
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core/LogLocale.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@ QString LogLocale::formatTimeLong() const
{
FCT_IDENTIFICATION;


QString ret = formatTimeLongWithoutTZ().append(" t");
QString ret = formatTimeLongWithoutTZ()
#if (QT_VERSION < QT_VERSION_CHECK(6, 5, 0))
.append(" t");
#else
.append(" ttt");
#endif

qCDebug(runtime) << "format:" << ret;
return ret;
Expand Down

0 comments on commit 0f83a94

Please sign in to comment.