title: Proper way to parse a date as UTC using date-fns
body: <p>I have a log file with some timestamps</p>
  <pre><code>2020-12-03 08:30:00
  2020-12-03 08:40:00
  ...
  </code></pre>
  <p>I know from the log provider's documentation that the timestamps are written in UTC (although not using ISO format)</p>
  <p>Now I want to <a href="https://date-fns.org/v2.16.1/docs/parse" rel="noreferrer">parse them with date-fns</a> :</p>
  <pre><code>const toParse = &quot;2020-12-03 08:40:00&quot;
  parse(toParse, 'yyyy-MM-dd HH:mm:ss', new Date()).toISOString()
  </code></pre>
  <p>And because the locale of my computer is in UTC+1 here is what I see:</p>
  <pre><code>&gt; &quot;2020-12-03T07:40:00Z&quot;
  </code></pre>
  <p>expected:</p>
  <pre><code>&gt; &quot;2020-12-03T08:40:00Z&quot;.
  </code></pre>
  <p><strong>Here is the hack I currently use to tell date-fns to parse as UTC :</strong></p>
  <pre><code>const toParse = &quot;2020-12-03 08:40:00&quot;
  parse(toParse + '+00', 'yyyy-MM-dd HH:mm:ss' + 'X', new Date()).toISOString()
  </code></pre>
  <p>And as expected,</p>
  <pre><code>&gt; &quot;2020-12-03T08:40:00Z&quot;.
  </code></pre>
  <p><strong>Is there any proper way of doing this using date-fns? Looking for an equivalent to moment's <code>moment.utc()</code></strong></p>