1.1.0 • Published 2 years ago
phyllis-tools v1.1.0
安装
npm install phyllis-tools
导入
const phyllisTools = require('phyllis-tools')
格式化时间
// 调用dateFormate对时间进行格式化
let dateStr = phyllisTool.dateFormate(new Date())
// 打印结果
console.log(dateStr)
开源协议
ISC
1.1.0
2 years ago