Issue #705

Supposed we have date in format ISO8601 and we want to get rid of T and millisecond and timezone Z

const date = new Date()
date.toDateString() // "Sat Dec 05 2020"
date.toString() // "Sat Dec 05 2020 06:58:19 GMT+0100 (Central European Standard Time)"
date.toISOString() // "2020-12-05T05:58:19.081Z"

We can use toISOString, then split base on the dot . then remove character T

date
        .toISOString()
        .split('.')[0]
        .replace('T', ' ')