Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 12:46:09 +01:00

Corrected Mirror.NextUpdate not set (#1388)

This commit is contained in:
Jonas 2017-04-06 02:56:45 +02:00 committed by Lunny Xiao
parent 2d1efcc270
commit e7493e953f

View file

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