export const formatDate = (timestamp) => { return timestamp.replace(/T/g,' ').replace(/Z/g,'') }
毫秒级:
export const formatDate = (timestamp) => {
return timestamp.replace(/T/g,' ').replace(/.[d]{3}Z/,'')
}