Skip to content

Commit

Permalink
Use human-readable timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvanburen committed Feb 11, 2025
1 parent f94665d commit 58757f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ func (m *commit) Title() string {
// Description implements list.DefaultItem.
func (m *commit) Description() string {
// TODO: Support absolute/relative time.
return fmt.Sprintf("Create Time: %s", m.underlying.CreateTime.AsTime().Format(time.RFC3339Nano))
return fmt.Sprintf("Create Time: %s", m.underlying.CreateTime.AsTime().Format(time.Stamp))
}

type commitFile struct {
Expand Down

0 comments on commit 58757f9

Please sign in to comment.