title: Javascript: How to format the date according to the french convention
body: <p>I use the <code>toLocaleDateString</code> method for formatting the date. This is how I do:</p>
  
  <pre><code>&gt; var options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' };
  &gt; var today  = new Date();
  &gt; today.toLocaleDateString("fr-FR", options);
  "mercredi 23 octobre 2019" //The output
  </code></pre>
  
  <p>In French the usual format of the date is rather like this:</p>
  
  <pre><code>Mercredi, 23 octobre 2019
  </code></pre>
  
  <p>The first letter of the day of the week in capital letters and a comma just after.
  How can I adapt the code to this format?</p>