title: QDateTime from string (__DATE__) invalid
body: <p>When im running the following code the qdatetime is invalid:</p>
  <pre><code>QString dateString = QString(__DATE__).simplified();
  QDateTime date =  QDateTime::fromString(dateString, &quot;MMM d yyyy&quot;);
  qDebug() &lt;&lt; &quot;Build date &quot; &lt;&lt; date.toMSecsSinceEpoch();
  </code></pre>
  <p>The content of dateString = <code>Jul 14 2020</code> so there are no extra spaces.
  Why is it not working.
  The following code works fine:</p>
  <pre><code>qDebug() &lt;&lt; &quot;Build date 2&quot; &lt;&lt; QDateTime(QLocale(&quot;en_US&quot;).toDate(QString(__DATE__).simplified(), &quot;MMM d yyyy&quot;)).toMSecsSinceEpoch();
  </code></pre>
  <p>It has the same date format and is also based on <code>__DATE__</code>.</p>
  <p>The output is:</p>
  <pre><code>Build date  -3600000
  Build date 2 1594677600000
  </code></pre>
  <p>My Complete code:</p>
  <pre><code>#include &lt;QCoreApplication&gt;
  #include &lt;QDate&gt;
  #include &lt;QDebug&gt;
  
  int main(int argc, char *argv[])
  {
      QCoreApplication a(argc, argv);
      QString dateString = QString(__DATE__).simplified();
      QDateTime date =  QDateTime::fromString(dateString, &quot;MMM d yyyy&quot;);
      qDebug() &lt;&lt; &quot;Build date &quot; &lt;&lt; date.toMSecsSinceEpoch();    
      qDebug() &lt;&lt; &quot;Build date 2&quot; &lt;&lt; QDateTime(QLocale(&quot;en_US&quot;).toDate(QString(__DATE__).simplified(), &quot;MMM d yyyy&quot;)).toMSecsSinceEpoch();
  
      return a.exec();
  }
  </code></pre>
  <p>I am running on ubuntu 18.04.</p>