Vue.filter('dateFormat', function (originValue) {
const dt = new Date(originValue);
const y = dt.getFullYear();
const m = (dt.getMonth() + 1 + '').padStart(2, '0');
const d = (dt.getDate() + '').padStart(2, '0');
const hh = (dt.getHours() + '').padStart(2, '0');
const mm = (dt.getMinutes() + '').padStart(2, '0');
const ss = (dt.getSeconds() + '').padStart(2, '0');
return `${y}-${m}-${d} ${hh}:${mm}:${ss}`;
});
Warning: Undefined variable $uapic in /www/wwwroot/www.murongx.cn/wp-content/themes/kratos-pjax-master/inc/ua.php on line 424
Warning: Undefined variable $uapic in /www/wwwroot/www.murongx.cn/wp-content/themes/kratos-pjax-master/inc/ua.php on line 424