convert-repo: fix reversed time zone offset
authorVadim Gelfer <vadim.gelfer@gmail.com>
Wed, 19 Apr 2006 11:29:41 -0700
changeset 2093 5cc414722587
parent 2092 1d3c6e63d703
child 2094 c067ee483d2e
convert-repo: fix reversed time zone offset
contrib/convert-repo
--- a/contrib/convert-repo	Wed Apr 19 11:17:13 2006 -0700
+++ b/contrib/convert-repo	Wed Apr 19 11:29:41 2006 -0700
@@ -73,7 +73,7 @@
             if n == "parent": parents.append(v)
 
         tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
-        tz = int(tzs) * (int(tzh) * 3600 + int(tzm))
+        tz = -int(tzs) * (int(tzh) * 3600 + int(tzm))
         date = tm + " " + str(tz)
         return (parents, author, date, message)