Add pubdate for repository rss and add some tests (#33411) (#33416)

Backport #33411 by @lunny

Fix #33291

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Giteabot
2025-01-27 17:42:47 +00:00
committed by GitHub
co-authored by Lunny Xiao
parent 6f3837284d
commit 2674d27fb8
4 changed files with 61 additions and 1 deletions
+1
View File
@@ -43,6 +43,7 @@ func ShowBranchFeed(ctx *context.Context, repo *repo.Repository, formatType stri
},
Description: commit.Message(),
Content: commit.Message(),
Created: commit.Committer.When,
})
}
+1
View File
@@ -55,6 +55,7 @@ func ShowFileFeed(ctx *context.Context, repo *repo.Repository, formatType string
},
Description: commit.Message(),
Content: commit.Message(),
Created: commit.Committer.When,
})
}