mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
committed by
Mathew Sutcliffe
parent
ba45da4851
commit
dcf0fa6b5a
@@ -392,7 +392,7 @@ namespace BlackConfig
|
||||
const QDateTime buildTimestampImpl()
|
||||
{
|
||||
// Mar 27 2017 20:17:06 (needs to be on english locale, otherwise fails - e.g.
|
||||
QDateTime dt = QLocale(QLocale::English).toDateTime(CBuildConfig::buildDateAndTime(), "MMM dd yyyy hh:mm:ss");
|
||||
QDateTime dt = QLocale(QLocale::English).toDateTime(CBuildConfig::buildDateAndTime().simplified(), "MMM d yyyy hh:mm:ss");
|
||||
dt.setUtcOffset(0);
|
||||
return dt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user