1.0.0 • Published 3 years ago
xx-forments v1.0.0
##安装
//安装
npm install xx-forment
//引入
const time = reaquire('xx-forment')
##使用
//调用dateFormat函数传入时间 可将时间格式化 最终格式 格式化后时间样式 例如2022-5-24 11:45
const formentCurrentDate = time.dateFormate(new Date())
1.0.0
3 years ago