1.0.0 • Published 1 year ago
depth-dataformat v1.0.0
安装
、、、 npm install depth-dataformat 、、、
导入
、、、 const depthDataformat = require("depth-dataformat") 、、、
格式化时间
、、、 const dt = dataFormat.dateTime(new Date()) console.log(dt); // 2023-02-07 13:45:18 、、、
1.0.0
1 year ago