Skip to content

Commit

Permalink
Improved a removing timezone from LongFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed Apr 15, 2024
1 parent 2dcdd29 commit 77db239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/LogLocale.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ QString LogLocale::formatTimeLongWithoutTZ() const
{
FCT_IDENTIFICATION;

QString ret = timeFormat(QLocale::LongFormat).remove(" t");
QString ret = timeFormat(QLocale::LongFormat).replace("(t)", "").replace(" t", "").replace("t", "");

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

0 comments on commit 77db239

Please sign in to comment.