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>
This commit is contained in:
Vladimir Sysoev 2025-01-19 04:30:44 +03:00 committed by GitHub
parent f250ee6360
commit dc2308a959
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 29 additions and 94 deletions

View file

@ -69,7 +69,7 @@ func NewFuncMap() template.FuncMap {
// time / number / format
"FileSize": base.FileSize,
"CountFmt": countFmt,
"Sec2Time": util.SecToTime,
"Sec2Time": util.SecToHours,
"TimeEstimateString": timeEstimateString,