# HG changeset patch # User Vadim Gelfer # Date 2006-04-19 18:29:41 # Node ID 5cc414722587dff18c149bb12827f2e3805525b6 # Parent 1d3c6e63d7034270a1c623da0de6d738ed518c04 convert-repo: fix reversed time zone offset diff --git a/contrib/convert-repo b/contrib/convert-repo --- a/contrib/convert-repo +++ b/contrib/convert-repo @@ -73,7 +73,7 @@ class convert_git: 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)