From 1ffc59ee1161f9330058dc115e3589b4998ad09a Mon Sep 17 00:00:00 2001 From: Andrew Thornton Date: Sat, 22 Feb 2020 18:57:57 +0000 Subject: Fix date reading 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 Signed-off-by: Andrew Thornton --- go.mod | 2 ++ 1 file changed, 2 insertions(+) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 6f8b3d2..31907a6 100644 --- a/go.mod +++ b/go.mod @@ -27,3 +27,5 @@ require ( gopkg.in/src-d/go-git-fixtures.v3 v3.5.0 gopkg.in/warnings.v0 v0.1.2 // indirect ) + +go 1.13 -- cgit