Commit 92b77032 authored by Oliver Sander's avatar Oliver Sander
Browse files

AnnotWindow: Always show creation time in local time

BUG: 413591
parent 2a8721c2
Pipeline #9830 passed with stage
in 16 minutes and 16 seconds
......@@ -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