hgext/fastexport.py
branchstable
changeset 44821 edffab2cf0ea
parent 44811 5d309906ed0e
child 48116 5ced12cfa41b
--- a/hgext/fastexport.py	Mon May 11 08:13:40 2020 +0200
+++ b/hgext/fastexport.py	Tue May 12 22:20:56 2020 +0200
@@ -53,7 +53,7 @@
 
 def convert_to_git_date(date):
     timestamp, utcoff = date
-    tzsign = b"+" if utcoff < 0 else b"-"
+    tzsign = b"+" if utcoff <= 0 else b"-"
     if utcoff % 60 != 0:
         raise error.Abort(
             _(b"UTC offset in %b is not an integer number of seconds") % (date,)