fix: Proper paring of date for git commits

- Properly parse the date of the git commit and pass that around.
This commit is contained in:
Gusted 2024-11-10 03:59:40 +01:00
parent 7e1aa8a5cd
commit a1762a6f9b
No known key found for this signature in database
GPG key ID: FD821B732837125F
3 changed files with 11 additions and 5 deletions

View file

@ -16,7 +16,7 @@ import (
// GetCommitGraph return a list of commit (GraphItems) from all branches
func GetCommitGraph(r *git.Repository, page, maxAllowedColors int, hidePRRefs bool, branches, files []string) (*Graph, error) {
format := "DATA:%D|%H|%ad|%h|%s"
format := "DATA:%D|%H|%aD|%h|%s"
if page == 0 {
page = 1