1.0.0 • Published 2 years ago
gethabbrtt v1.0.0
##安装
//安装
npm install gethabbr
//引入
const time = require('gethabbr')
##使用
//调用dateFormat函数传入时间 可将时间格式化 最终格式
格式化后时间样式例如2022/5/24 11:31
const formateCurrentDate = time.dateFormat(new Date())
1.0.0
2 years ago