1.1.1 • Published 2 years ago
zhuangmou-format v1.1.1
View Raw
zhuangmou-format
⬇️ Install
npm i zhuangmou-format
🎨 Usage
const wofDate = require('zhuangmou-format')
console.log(zhuangmou-format('n-y-r s:f:s'))
💡 param
keywords | desc |
---|---|
n | 年 |
y | 月 |
r | 日 |
s | 时 |
f | 分 |
s | 秒 |
语法:zhuangmou-format('随意组合')
举个栗子🌰
zhuangmou-format('n-y-r s:f:s')
🔒 License
See the LICENSE file for license rights and limitations (MIT).