From dc2308a95908091c036011252fbca38980c8846c Mon Sep 17 00:00:00 2001 From: Vladimir Sysoev Date: Sun, 19 Jan 2025 04:30:44 +0300 Subject: 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 Co-authored-by: wxiaoguang --- modules/templates/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/templates') diff --git a/modules/templates/helper.go b/modules/templates/helper.go index 609407d36b..a2cc166de9 100644 --- a/modules/templates/helper.go +++ b/modules/templates/helper.go @@ -69,7 +69,7 @@ func NewFuncMap() template.FuncMap { // time / number / format "FileSize": base.FileSize, "CountFmt": countFmt, - "Sec2Time": util.SecToTime, + "Sec2Time": util.SecToHours, "TimeEstimateString": timeEstimateString, -- cgit v1.2.3