Skip to content

Commit

Permalink
fix: issue since the change to summer timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
Tchoupinax committed Apr 2, 2022
1 parent edf0db5 commit 7970aa0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
main
dist
vendor
git-branch
3 changes: 2 additions & 1 deletion branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ func (b *Branch) GetCommitterDateFromLogs() {
fmt.Println(err)
}

b.commitedAt = t.Add(-time.Hour * 1)
// *1 in winter and *2 in summer... >.<
b.commitedAt = t.Add(-time.Hour * 2)
}
}
}
4 changes: 2 additions & 2 deletions version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/fatih/color"
)

const Version string = "0.0.7"
const BuildDate string = "2022-03-16"
const Version string = "0.0.8"
const BuildDate string = "2022-04-02"

func cliCommandDisplayVersion(args []string) {
displayVersion := StringInSlice("-v", args[1:]) || StringInSlice("--version", args[1:])
Expand Down

0 comments on commit 7970aa0

Please sign in to comment.