elena-ui (npm): 格式化时间，获取2019-08-07 15:06:32或2019-08-07或15:06:32 # install npm install -g elena-ui # github https://github.com/Elenayinzi/elena-ui # usage let formatter = require('./index') formatter.init('2020-09-229') console.info(formatter.getDateTime())
Keywords: ui框架