Restore $createdStr suffix for timestamp display

The timestamp suffix is needed to show "1 minute ago" etc. in the timeline.

Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-02 18:10:28 +00:00
parent d34bbace0e
commit e80d152a4f
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1778,8 +1778,8 @@
"repo.pulls.title_desc": "wants to merge %[1]d commits from <code>%[2]s</code> into <code id=\"branch_target\">%[3]s</code>",
"repo.pulls.merged_title_desc": "merged %[1]d commits from <code>%[2]s</code> into <code>%[3]s</code> %[4]s",
"repo.pulls.change_target_branch_at": "changed target branch from <b>%s</b> to <b>%s</b> %s",
"repo.pulls.marked_as_work_in_progress": "marked the pull request as work in progress",
"repo.pulls.marked_as_ready_for_review": "marked the pull request as ready for review",
"repo.pulls.marked_as_work_in_progress": "marked the pull request as work in progress %s",
"repo.pulls.marked_as_ready_for_review": "marked the pull request as ready for review %s",
"repo.pulls.tab_conversation": "Conversation",
"repo.pulls.tab_commits": "Commits",
"repo.pulls.tab_files": "Files Changed",
@@ -699,7 +699,7 @@
{{template "shared/user/avatarlink" dict "user" .Poster}}
<span class="comment-text-line">
{{template "shared/user/authorlink" .Poster}}
{{ctx.Locale.Tr "repo.pulls.marked_as_work_in_progress"}}
{{ctx.Locale.Tr "repo.pulls.marked_as_work_in_progress" $createdStr}}
</span>
</div>
{{else if eq .Type 40}}
@@ -708,7 +708,7 @@
{{template "shared/user/avatarlink" dict "user" .Poster}}
<span class="comment-text-line">
{{template "shared/user/authorlink" .Poster}}
{{ctx.Locale.Tr "repo.pulls.marked_as_ready_for_review"}}
{{ctx.Locale.Tr "repo.pulls.marked_as_ready_for_review" $createdStr}}
</span>
</div>
{{end}}