1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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

Fix #33291
This commit is contained in:
Lunny Xiao
2025-01-27 07:58:46 -08:00
committed by GitHub
parent 6ca91f555a
commit dcd3014567
4 changed files with 61 additions and 1 deletions

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,
})
}

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,
})
}