📅  最后修改于: 2022-03-11 15:01:46.636000             🧑  作者: Mango
代码示例6
const dateStr = '2020-06-21T10:15:00Z',
[yyyy,mm,dd,hh,mi] = dateStr.split(/[/:\-T]/)
console.log(`${dd}-${mm}-${yyyy} ${hh}:${mi}`)