title: Date().toLocaleString() output format is different on the live server and localhost
body: <p>in my nodejs app i need date in the <code>Y-m-d H:i:s</code> format , i use this simple code </p>
  
  <pre><code>console.log(new Date().toLocaleString());
  </code></pre>
  
  <p>in the local computer i get </p>
  
  <p><code>2019-1-8 04:14:28</code>  which is the correct format but the same code in the live server gives me <code>1/8/2019, 4:14:00 AM</code> which is not what i want .... why is that and how can i fix that ? </p>