Commit d22bfde2 authored by ‘yangmengxue’'s avatar ‘yangmengxue’

11

parent faec603d
...@@ -89,7 +89,7 @@ export function parseTime(time, pattern) { ...@@ -89,7 +89,7 @@ export function parseTime(time, pattern) {
if (arguments.length === 0 || !time) { if (arguments.length === 0 || !time) {
return null return null
} }
const format = pattern || '{y}-{m}-{d} {h}:{i}:{s}' const format = pattern || '{y}年{m}月{d}日 {h}:{i}:{s}'
let date let date
if (typeof time === 'object') { if (typeof time === 'object') {
date = time date = time
......
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