格式化更新时间

This commit is contained in:
Shao Huan Qing
2021-09-05 15:50:22 +08:00
parent b166c13de4
commit c7a24ee188

View File

@ -65,7 +65,7 @@ module.exports = {
'@vuepress/back-to-top': {},
'@vuepress/last-updated': {
transformer: (timestamp, lang) => {
return dateFns.format(timestamp, 'yyyy-MM-dd HH:mm:ss')
return dateFns.format(timestamp, 'YYYY-MM-DD HH:mm:ss')
}
},
'vuepress-plugin-code-copy': {