fShowTime: function (time) { var oDate = new Date(time); var year = oDate.getFullYear(); var month = oDate.getMonth() + 1; var day = oDate.getDate(); var hour = oDate.getHours(); var Minutes = oDate.getMinutes(); Minutes = Minutes > 9 ? Minutes : "0" + Minutes; return month + '月' + day + '日 ' + hour + ':' + Minutes; }
时间过滤器
猜你喜欢
转载自www.cnblogs.com/ctb-web/p/9773170.html
今日推荐
周排行