|
|
|
@@ -346,6 +346,7 @@ func QueryUserStaticCurrentMonth(ctx *context.Context) { |
|
|
|
|
|
|
|
func getStartTime(pageStartTime time.Time) time.Time { |
|
|
|
t, _ := time.Parse("2006-01-02", setting.RadarMap.GrowthBeginTime) |
|
|
|
t = time.Date(t.Year(), t.Month(), t.Day(), 0, 0, 0, 1, t.Location()) |
|
|
|
if pageStartTime.Before(t) { |
|
|
|
pageStartTime = t |
|
|
|
} |
|
|
|
|