Convert the time format returned by the background 2019-04-24T02:30:00.000+0000
function resolvingDate(date){ //date It's the time of arrival let d = new Date(date); let month =
(d.getMonth() + 1) < 10 ? '0'+(d.getMonth() + 1) : (d.getMonth() + 1); let day
= d.getDate()<10 ? '0'+d.getDate() : d.getDate(); let hours = d.getHours()<10 ?
'0'+d.getHours() : d.getHours(); let min = d.getMinutes()<10 ?
'0'+d.getMinutes() : d.getMinutes(); let sec = d.getSeconds()<10 ?
'0'+d.getSeconds() : d.getSeconds(); let times=d.getFullYear() + '-' + month +
'-' + day + ' ' + hours + ':' + min + ':' + sec; return times }

Technology
Daily Recommendation