go-git icon indicating copy to clipboard operation
go-git copied to clipboard

Fix date reading

Open zeripath opened this issue 5 years ago • 4 comments

In the British TZ the following time:

1579639200 +0100

will be erroneously parsed as being with the GMT TZ. This leads to multiple errors with GPG validation.

This PR fixes this by using the provided TZ information to create a FixedZone and sets that as the TZ

zeripath avatar Feb 22 '20 18:02 zeripath

Tests need to be fixed

lafriks avatar Feb 22 '20 21:02 lafriks

Sigh. Let me just drop the name.

zeripath avatar Feb 23 '20 00:02 zeripath

CI has been placated

zeripath avatar Feb 23 '20 10:02 zeripath

Merged at https://github.com/go-git/go-git/pull/2

mcuadros avatar Mar 10 '20 09:03 mcuadros