master
huanghai 5 years ago
parent ca9f700cdb
commit ec52dd959e

@ -23,6 +23,5 @@ func ConvertDateTime(ts string) time.Time {
} }
func ConvertDate(ts string) time.Time { func ConvertDate(ts string) time.Time {
st, _ := time.Parse(TimeLayoutStr, ts+" 00:00:00") //string转time return ConvertDateTime(ts + " 00:00:00")
return st
} }

Loading…
Cancel
Save