aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/issue_timetrack.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/issue_timetrack.go')
-rw-r--r--routers/web/repo/issue_timetrack.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/web/repo/issue_timetrack.go b/routers/web/repo/issue_timetrack.go
index 3770cd7b4e..ec6bb6142d 100644
--- a/routers/web/repo/issue_timetrack.go
+++ b/routers/web/repo/issue_timetrack.go
@@ -10,6 +10,7 @@ import (
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
+ "code.gitea.io/gitea/modules/util"
"code.gitea.io/gitea/modules/web"
"code.gitea.io/gitea/services/forms"
)
@@ -81,6 +82,6 @@ func DeleteTime(c *context.Context) {
return
}
- c.Flash.Success(c.Tr("repo.issues.del_time_history", models.SecToTime(t.Time)))
+ c.Flash.Success(c.Tr("repo.issues.del_time_history", util.SecToTime(t.Time)))
c.Redirect(issue.HTMLURL())
}