fix: Proper paring of date for git commits
- Properly parse the date of the git commit and pass that around.
This commit is contained in:
parent
7e1aa8a5cd
commit
a1762a6f9b
3 changed files with 11 additions and 5 deletions
|
@ -241,7 +241,7 @@ func TestParseGlyphs(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestCommitStringParsing(t *testing.T) {
|
||||
dataFirstPart := "* DATA:|4e61bacab44e9b4730e44a6615d04098dd3a8eaf|2016-12-20 21:10:41 +0100|4e61bac|"
|
||||
dataFirstPart := "* DATA:|4e61bacab44e9b4730e44a6615d04098dd3a8eaf|Tue, 20 Dec 2016 21:10:41 +0100|4e61bac|"
|
||||
tests := []struct {
|
||||
shouldPass bool
|
||||
testName string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue