Skip to content

Commit 7970aa0

Browse files
committed
fix: issue since the change to summer timezone
1 parent edf0db5 commit 7970aa0

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
main
22
dist
33
vendor
4+
git-branch

branch.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ func (b *Branch) GetCommitterDateFromLogs() {
3636
fmt.Println(err)
3737
}
3838

39-
b.commitedAt = t.Add(-time.Hour * 1)
39+
// *1 in winter and *2 in summer... >.<
40+
b.commitedAt = t.Add(-time.Hour * 2)
4041
}
4142
}
4243
}

version.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"github.com/fatih/color"
88
)
99

10-
const Version string = "0.0.7"
11-
const BuildDate string = "2022-03-16"
10+
const Version string = "0.0.8"
11+
const BuildDate string = "2022-04-02"
1212

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

0 commit comments

Comments
 (0)