过滤时间格式

$filter('date')(new Date(JSON.parse(data).value), 'dd-MM-yyyy HH:mm:ss')
原文地址:https://www.cnblogs.com/RonnieQin/p/9263508.html