title: How to format date with date-fns?
body: <p>I've been trying to format a date using <strong>date-fns</strong> but I keep failing. Basically I have it working just fine with momentJS but not with date-fns:</p>
  <p>Here's my date:</p>
  <pre><code>&quot;10-13-20&quot; // month, day, and year
  </code></pre>
  <p>Now with momentJS it works just fine like this:</p>
  <pre><code>let result = moment(&quot;10-13-20&quot;, 'MM-DD-YY').format()
  // result = &quot;2020-10-13T00:00:00-06:00&quot;
  </code></pre>
  <p>So I'm trying to do the same using <strong>date-fns</strong> but no luck. Can anyone point me in the right direction? Thanks in advance!</p>
  <pre><code>let result = format(new Date(&quot;10-13-20&quot;), 'MM-DD-YY') // Not working
  </code></pre>