From 001c924b62c2daa67f96b3464849736867445917 Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Fri, 29 Oct 2021 08:55:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/repo/repo_statistic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/repo/repo_statistic.go b/routers/repo/repo_statistic.go index 4d23e79f2..9bc70eaff 100755 --- a/routers/repo/repo_statistic.go +++ b/routers/repo/repo_statistic.go @@ -23,7 +23,7 @@ func RepoStatisticAuto() { func RepoStatisticDaily(date string) { log.Info("%s", date) log.Info("begin Repo Statistic") - t, _ := time.Parse("2006-01-02", "date") + t, _ := time.Parse("2006-01-02", date) if err := models.DeleteRepoStatDaily(date); err != nil { log.Error("DeleteRepoStatDaily failed: %v", err.Error()) return