1.0.1 • Published 1 year ago
formattimeyang v1.0.1
格式化时间戳为自定义时间的方法
调用格式如下
formatTime(number, string)
fomatTime(1234567891011, 'Y/M/D h:m:s')
fomatTime(1234567891011, 'Y-M-D h:m:s')
fomatTime(1234567891011, 'Y/M/D')
fomatTime(1234567891011, 'h:m:s')
1.0.1
1 year ago