1.0.0 • Published 2 years ago
itheima-tools-xuheng v1.0.0
安装
npm install itheima-tools-zxh
格式化时间
// 导入
const itheima = require('./itheima-tools-zxh/index')
格式化时间
// 调用时间转换
const dtStr = itheima.dateFormat(new Date())
console.log(dtStr)
开源协议
ISC
1.0.0
2 years ago