zhuangmou-format
v1.1.1
Published
View Raw # zhuangmou-format
Downloads
3
Readme
View Raw
zhuangmou-format
[![Build Status][travis-url]][travis-url] [![MIT License][license-url]][license-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url]
⬇️ 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).