安装 npm i chm-strtime 使用说明 1.导入 const {dateFormat} = require('strtime') 2.使用 dateFormat(时间戳)||dateFormat() //返回值是'yyyy-MM-dd hh:mm:ss'格式的时间 开源协议 ISC