Mercurial > hg
changeset 2093:5cc414722587
convert-repo: fix reversed time zone offset
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Wed, 19 Apr 2006 11:29:41 -0700 |
parents | 1d3c6e63d703 |
children | c067ee483d2e |
files | contrib/convert-repo |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)