summaryrefslogtreecommitdiff
path: root/git/objects/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/objects/util.py')
-rw-r--r--git/objects/util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/git/objects/util.py b/git/objects/util.py
index 5dbd9822..235b520e 100644
--- a/git/objects/util.py
+++ b/git/objects/util.py
@@ -148,6 +148,8 @@ def parse_date(string_date):
try:
if string_date.count(' ') == 1 and string_date.rfind(':') == -1:
timestamp, offset = string_date.split()
+ if timestamp.startswith('@'):
+ timestamp = timestamp[1:]
timestamp = int(timestamp)
return timestamp, utctz_to_altz(verify_utctz(offset))
else: