Mercurial > hg > hg-fastimport
diff hgfastimport/hgimport.py @ 59:c82b6a84884f
Convert timezones correctly.
| author | Greg Ward <gward@intelerad.com> |
|---|---|
| date | Mon, 01 Aug 2011 21:24:29 -0400 |
| parents | c370e587f483 |
| children | efc96910ddf2 ae32828c68d7 |
line wrap: on
line diff
--- a/hgfastimport/hgimport.py Mon Aug 01 18:35:31 2011 -0400 +++ b/hgfastimport/hgimport.py Mon Aug 01 21:24:29 2011 -0400 @@ -333,7 +333,7 @@ self.ui.debug("processed commit %s\n" % cmd) def convert_date(self, c): - res = (int(c[2]), int(c[3])) + res = (int(c[2]), -int(c[3])) #print c, res #print type((0, 0)), type(res), len(res), type(res) is type((0, 0)) #if type(res) is type((0, 0)) and len(res) == 2:
