Fix: Write change log with current time

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-12-01 00:17:08 +01:00
parent 230d9211ee
commit 0d3781fc26
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -74,7 +74,7 @@ func checkForUpdates(ce *database.CatalogEntry) error {
if err = storage.Logs.Add(&database.LogEntry{
CatalogName: ce.Name,
CatalogTag: ce.Tag,
Timestamp: vertime,
Timestamp: time.Now().Truncate(time.Second).UTC(),
VersionTo: ver,
VersionFrom: cm.CurrentVersion,
}); err != nil {