datetime-format-wsy
v1.0.1
Published
datetime format
Downloads
4
Readme
datetime-format-wsy
格式化时间,获取2019-08-07 15:06:32或2019-08-07或15:06:32
install
npm install -g datetime-format-wsy
#github https://github.com/shiyuan598/FrontEnd/tree/master/npm/datetime-format
#usage let formatter = require('./index') formatter.init('2018-6-9') console.info(formatter.getDateTime())