From 2b28036f9472541f17db41d543d7c507ed14b3c5 Mon Sep 17 00:00:00 2001 From: Anton Berezhnyi Date: Tue, 1 Oct 2024 16:13:20 -0400 Subject: [PATCH] update score time --- updatedScoresImporter.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/updatedScoresImporter.go b/updatedScoresImporter.go index a7f5a80..910798c 100644 --- a/updatedScoresImporter.go +++ b/updatedScoresImporter.go @@ -211,9 +211,8 @@ func (importer *UpdatedScoresImporter) getLastRegDate() time.Time { func (importer *UpdatedScoresImporter) setLastRegDate(newLastRegDate time.Time) (err error) { if !importer.lastRegDate.Equal(newLastRegDate) { importer.lastRegDate = newLastRegDate.In(time.Local) - fmt.Printf("newLastRegDate: %+v\n", newLastRegDate) - var value []byte - value, _ = importer.lastRegDate.MarshalBinary() + + value, _ := importer.lastRegDate.MarshalBinary() err = importer.storage.Set(value) if err != nil {