We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1428877 commit 2d4c632Copy full SHA for 2d4c632
routers/web/repo/activity.go
@@ -47,8 +47,8 @@ func Activity(ctx *context.Context) {
47
ctx.Data["Period"] = "weekly"
48
timeFrom = timeUntil.Add(-time.Hour * 168)
49
}
50
- ctx.Data["DateFrom"] = timeFrom.Format("January 2, 2006")
51
- ctx.Data["DateUntil"] = timeUntil.Format("January 2, 2006")
+ ctx.Data["DateFrom"] = timeFrom.Format("2006-01-02")
+ ctx.Data["DateUntil"] = timeUntil.Format("2006-01-02")
52
ctx.Data["PeriodText"] = ctx.Tr("repo.activity.period." + ctx.Data["Period"].(string))
53
54
var err error
0 commit comments