UNPKG
format-time-both-my
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
fotmat time YY-MM-DD HH:mm:ss
format-time-both-my
/
README.md
13 lines
(8 loc)
•
192 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
# install
> cnpm install
format
-
time
-both-
my
## use
``
` bash import {formatTimeBoth} from 'format-time-both-my' const time = new Date(); formatTimeBoth(time); // 2020-06-01 16:55:55 `
``