diff options
author | Andrew Thornton <art27@cantab.net> | 2020-02-22 18:57:57 +0000 |
---|---|---|
committer | Andrew Thornton <art27@cantab.net> | 2020-02-23 09:52:24 +0000 |
commit | 1ffc59ee1161f9330058dc115e3589b4998ad09a (patch) | |
tree | 4e68fe7382b51483f6b4bb93618e65a7000e7fd9 /go.mod | |
parent | 1a7db85bca7027d90afdb5ce711622aaac9feaed (diff) | |
download | go-git-1ffc59ee1161f9330058dc115e3589b4998ad09a.tar.gz |
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 <art27@cantab.net>
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |