aboutsummaryrefslogtreecommitdiffstats
path: root/services/convert/issue_comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/convert/issue_comment.go')
-rw-r--r--services/convert/issue_comment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/convert/issue_comment.go b/services/convert/issue_comment.go
index b8527ae233..9ad584a62f 100644
--- a/services/convert/issue_comment.go
+++ b/services/convert/issue_comment.go
@@ -74,7 +74,7 @@ func ToTimelineComment(ctx context.Context, repo *repo_model.Repository, c *issu
c.Content[0] == '|' {
// TimeTracking Comments from v1.21 on store the seconds instead of an formatted string
// so we check for the "|" delimiter and convert new to legacy format on demand
- c.Content = util.SecToTime(c.Content[1:])
+ c.Content = util.SecToHours(c.Content[1:])
}
if c.Type == issues_model.CommentTypeChangeTimeEstimate {