Commit 6b83311f authored by chenqikuai's avatar chenqikuai

fix: 修复时间展示filter

parent 283e3210
......@@ -10,7 +10,7 @@ export default {
formatDate(timeStamp: number) {
const commonLen = new Date().getTime().toString().length
if (timeStamp.toString().length === commonLen) {
return moment(timeStamp).format('YYYY-MM-DD hh:mm') // September 14th 2021, 3:22:23 pm
return moment(timeStamp).format('YYYY-MM-DD HH:mm') // September 14th 2021, 3:22:23 pm
} else {
return ''
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment