mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 17:20:50 +00:00
change time format
This commit is contained in:
parent
e572f45296
commit
32469cd69d
@ -101,7 +101,7 @@ func (m *Migration) addOrUpdateRecord(name, status string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
t, err := time.Parse(M_DB_DATE_FORMAT, m.Created)
|
||||
t, err := time.Parse(M_DATE_FORMAT, m.Created)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user