过滤时间格式

$filter('date')(new Date(JSON.parse(data).value), 'dd-MM-yyyy HH:mm:ss')

猜你喜欢

转载自www.cnblogs.com/RonnieQin/p/9263508.html