8ab61e312e02bcddd2af4f34cc1b8b969344b57a
- Author
- Ayman Bagabas <ayman.bagabas@gmail.com>
- Committer
- Ayman Bagabas <ayman.bagabas@gmail.com>
- Date
Message
fix(ui): incorrect commit date format
Diff
1diff --git a/ui/pages/repo/logitem.go b/ui/pages/repo/logitem.go
2index 856b200db7c08a65c27bc4ee3d1b4ab52d42f755..410a7e90e12013db11fc907820e6602d853d1758 100644
3--- a/ui/pages/repo/logitem.go
4+++ b/ui/pages/repo/logitem.go
5@@ -130,7 +130,7 @@ func (d LogItemDelegate) Render(w io.Writer, m list.Model, index int, listItem l
6 }
7 who += " "
8 }
9- date := i.Committer.When.Format("Feb 02")
10+ date := i.Committer.When.Format("Jan 02")
11 if i.Committer.When.Year() != time.Now().Year() {
12 date += fmt.Sprintf(" %d", i.Committer.When.Year())
13 }