blueming-date
v1.0.1
Published
日期格式化插件
Downloads
2
Readme
blueming-date
下载
npm i blueming-date -D
使用
const bmDate = require('blueming-date')
console.log(bmDate.format('Y-m-d H:i:s'))
语法:bmDate.format('随意组合') 例如: bmDate.format('YmdHis') bmDate.format('Y-m-d H:i:s') bmDate.format('Y/m/d') bmDate.format('Y/m/d H:i:s') bmDate.format('Y年m月d日 H:i:s')