1.0.3 • Published 2 years ago
cwl1989-format v1.0.3
下载
npm i caiwenlong1989-format -D
使用
const abc = require('caiwenlong1989-format')
abc.format('Y') //年
abc.format('m') //月
abc.format('d') //日
abc.format('h') //时
abc.format('i') //分
abc.format('S') //秒
abc.format('y-m-d-h-i-s') //年-月-日-时-分-秒
1.0.3
2 years ago