1
0
mirror of https://github.com/gogs/gogs.git synced 2025-05-31 11:42:13 +00:00

modes/mirror: corrected NextUpdate not set ()

This commit is contained in:
Jonas 2017-03-27 05:24:48 +02:00 committed by 无闻
parent 496e07c1c9
commit f40eb9774e

@ -60,7 +60,7 @@ func (m *Mirror) AfterSet(colName string, _ xorm.Cell) {
}
case "updated_unix":
m.Updated = time.Unix(m.UpdatedUnix, 0).Local()
case "next_updated_unix":
case "next_update_unix":
m.NextUpdate = time.Unix(m.NextUpdateUnix, 0).Local()
}
}