Commit 3e63353b authored by Oliver Sander's avatar Oliver Sander Committed by Ben Cooksley
Browse files

AnnotWindow: Always show creation time in local time

BUG: 413591
(cherry picked from commit 92b77032)
parent 568f11b0
......@@ -163,7 +163,7 @@ public:
void setDate( const QDateTime& dt )
{
dateLabel->setText( QLocale().toString( dt, QLocale::ShortFormat ) + QLatin1Char(' ') );
dateLabel->setText( QLocale().toString( dt.toTimeSpec(Qt::LocalTime), QLocale::ShortFormat ) + QLatin1Char(' ') );
}
void setAuthor( const QString& author )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment