aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo
diff options
context:
space:
mode:
authorVladimir Sysoev <vladimir.sysoev@gmail.com>2025-01-19 04:30:44 +0300
committerGitHub <noreply@github.com>2025-01-19 09:30:44 +0800
commitdc2308a95908091c036011252fbca38980c8846c (patch)
treedaf5b195cca0a73ea3e78792cdcaadc1318d000c /routers/web/repo
parentf250ee6360e306d97d4ab6c2f803af1707af489d (diff)
downloadgitea-dc2308a95908091c036011252fbca38980c8846c.tar.gz
gitea-dc2308a95908091c036011252fbca38980c8846c.zip
Make tracked time representation display as hours (#33315)
Estimated time represented in hours it might be convenient to have tracked time represented in the same way to be compared and managed. --------- Co-authored-by: Sysoev, Vladimir <i@vsysoev.ru> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'routers/web/repo')
-rw-r--r--routers/web/repo/issue_timetrack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/issue_timetrack.go b/routers/web/repo/issue_timetrack.go
index 36e931a48f..134ded82d1 100644
--- a/routers/web/repo/issue_timetrack.go
+++ b/routers/web/repo/issue_timetrack.go
@@ -81,7 +81,7 @@ func DeleteTime(c *context.Context) {
return
}
- c.Flash.Success(c.Tr("repo.issues.del_time_history", util.SecToTime(t.Time)))
+ c.Flash.Success(c.Tr("repo.issues.del_time_history", util.SecToHours(t.Time)))
c.JSONRedirect("")
}