@sunnyfan/utils
v0.0.5
Published
this is a tools package handle time formart egg
Downloads
9
Readme
安装
npm i @sunnyfan/utils yarn add @sunnyfan/utils
测试
sudo npx babel-node test/index.js
使用
import { transferDate } from '@sunnyfan/utils/tools'
const date = new Date() eg: 2021-07-08 transferDate(date,1) 2021-07-08 21:08:09 transferDate(date,2) 08 transferDate(date,3)