Commit 6848e031 authored by JingChao's avatar JingChao

Updates angular/hlsUtil.md

Auto commit by GitBook Editor
parent 7f5bc00d
......@@ -14,4 +14,10 @@ APP开发会出现很多功能相同的函数和组件,现封装了很多公
```
##### 2.时间格式化函数 `Date.prototype.format`
- 函数参数为格式字符串 如 `yyyy-MM-dd`
- 返回值为格式化后的时间 如 `2017-09-08`
- 调用实例如下
```javascript
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment