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:
Gusted 2024-11-10 03:59:40 +01:00
parent 7e1aa8a5cd
commit a1762a6f9b
No known key found for this signature in database
GPG key ID: FD821B732837125F
3 changed files with 11 additions and 5 deletions

View file

@ -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