This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merge fix for #5329

  • Loading branch information...
nlyan committed Oct 4, 2016
2 parents c288918 + a70a2bf commit d99bd8e031968b02801ac8d0814231f021763379
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/src/AboutDialog.cpp
@@ -32,7 +32,9 @@ AboutDialog::AboutDialog(QWidget* parent, const QString& synergyApp) :
version = version + '-' + VERSION_STAGE + '-' + VERSION_REVISION;
m_pLabelSynergyVersion->setText(version);
- m_pLabelBuildDate->setText(QDate::currentDate().toString());
+ QString buildDateString = QString::fromLocal8Bit(__DATE__).simplified();
+ QDate buildDate = QLocale("en_US").toDate(buildDateString, "MMM d yyyy");
+ m_pLabelBuildDate->setText(buildDate.toString(Qt::SystemLocaleLongDate));
// change default size based on os
#if defined(Q_OS_MAC)

0 comments on commit d99bd8e

Please sign in to comment.