summaryrefslogtreecommitdiff
path: root/git/test
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-12-19 17:42:06 +0100
committerSebastian Thiel <byronimo@gmail.com>2014-12-19 17:42:06 +0100
commit3f879c71bdf0aac7af9b01304ff02e94b5af71b7 (patch)
tree8bde49862bd0ff85439bd4894732139f9a045d59 /git/test
parent4a47a9c8d8253d0ae2a233fa8599b1a1c54ec53f (diff)
downloadgitpython-3f879c71bdf0aac7af9b01304ff02e94b5af71b7.tar.gz
Simplified parse_date implementation
This allows to deal with the previous UTC issue without manually reversing timezone adjustments
Diffstat (limited to 'git/test')
-rw-r--r--git/test/test_util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/test_util.py b/git/test/test_util.py
index 10d397c3..1ba855af 100644
--- a/git/test/test_util.py
+++ b/git/test/test_util.py
@@ -102,9 +102,9 @@ class TestUtils(TestBase):
iso3 = ("2005.04.07 22:13:11 -0000", 0)
alt = ("04/07/2005 22:13:11", 0)
alt2 = ("07.04.2005 22:13:11", 0)
- veri_time = 1112911991 # the time this represents
+ veri_time_utc = 1112911991 # the time this represents, in time since epoch, UTC
for date, offset in (rfc, iso, iso2, iso3, alt, alt2):
- assert_rval(parse_date(date), veri_time, offset)
+ assert_rval(parse_date(date), veri_time_utc, offset)
# END for each date type
# and failure