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 /plumbing/memory_test.go | |
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 'plumbing/memory_test.go')
0 files changed, 0 insertions, 0 deletions