1.0.0 • Published 2 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
2 years ago