title: transform date yyyy-mm-ddTHH:mm:ssZ to dd-mm-yyyy javascript react
body: <p>I need to transform this date that comes from an API in this format</p>
  <pre><code>yyyy-mm-ddTHH:mm:ssZ
  </code></pre>
  <p>to</p>
  <pre><code>dd-mm-yyyy
  </code></pre>
  <p>do I have to use any library in order to do this?</p>