diff --git a/routers/repo/user_data_analysis.go b/routers/repo/user_data_analysis.go index eb333a822..1bebb9f3e 100755 --- a/routers/repo/user_data_analysis.go +++ b/routers/repo/user_data_analysis.go @@ -315,14 +315,6 @@ func queryMetrics(ctx *context.Context, tableName string, startTime time.Time, e } func getTimeFileName(t time.Time) string { t = t.Local() - // month := fmt.Sprint(int(t.Month())) - // if t.Month() < 10 { - // month = "0" + month - // } - // day := fmt.Sprint(t.Day()) - // if t.Day() < 10 { - // day = "0" + day - // } return t.Format("20060102") } diff --git a/web_src/js/components/UserTrend.vue b/web_src/js/components/UserTrend.vue index 6b5be7940..efa845e06 100644 --- a/web_src/js/components/UserTrend.vue +++ b/web_src/js/components/UserTrend.vue @@ -24,8 +24,8 @@ 注册用户数 - 未激活:{{ tableDataYesterday.TotalActivateRegistUser}} - 已激活:{{ tableDataYesterday.TotalNotActivateRegistUser }} + 未激活:{{ tableDataYesterday.TotalNotActivateRegistUser }} + 已激活:{{ tableDataYesterday.TotalActivateRegistUser}} 有贡献活动: {{ tableDataYesterday.TotalHasActivityUser}}