1. 支持 yyyy-MM-dd HH:mm:ss 格式的日期处理
now := time.Now() format := "yyyy-MM-dd HH:mm:ss" value := FormatTime(now, format) value := "2017-05-30 15:30:59" format := "yyyy-MM-dd HH:mm:ss" time, _ := Parse(value, format)
1.
1.
1.
| Name | Name | Last commit date | ||
|---|---|---|---|---|