Skip to content

Commit

Permalink
changed display version for updated_at
Browse files Browse the repository at this point in the history
  • Loading branch information
gennaro-tedesco committed Feb 4, 2022
1 parent 5ac227d commit 68ed3b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
var cfgFile string

// VERSION number: change manually
const VERSION = "0.0.5"
const VERSION = "0.0.6"

var rootCmd = &cobra.Command{
Use: "gh-i",
Expand Down
2 changes: 1 addition & 1 deletion cmd/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func getTemplate(colour string) *promptui.SelectTemplates {

funcMap["parseTimestamp"] = func(UpdatedAt string) string {
t, _ := time.Parse("2006-01-02T15:04:05Z", UpdatedAt)
return t.Format("2006-01-02 15:04:05")
return t.Format("2 Jan 2006 15:04:05")
}

return &promptui.SelectTemplates{
Expand Down

0 comments on commit 68ed3b0

Please sign in to comment.