From 8ab61e312e02bcddd2af4f34cc1b8b969344b57a Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Wed, 27 Jul 2022 14:39:21 -0700 Subject: [PATCH] fix(ui): incorrect commit date format --- ui/pages/repo/logitem.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/pages/repo/logitem.go b/ui/pages/repo/logitem.go index 856b200db7c08a65c27bc4ee3d1b4ab52d42f755..410a7e90e12013db11fc907820e6602d853d1758 100644 --- a/ui/pages/repo/logitem.go +++ b/ui/pages/repo/logitem.go @@ -130,7 +130,7 @@ func (d LogItemDelegate) Render(w io.Writer, m list.Model, index int, listItem l } who += " " } - date := i.Committer.When.Format("Feb 02") + date := i.Committer.When.Format("Jan 02") if i.Committer.When.Year() != time.Now().Year() { date += fmt.Sprintf(" %d", i.Committer.When.Year()) }