Mercurial > hg > hg-fastimport
changeset 59:c82b6a84884f
Convert timezones correctly.
| author | Greg Ward <gward@intelerad.com> |
|---|---|
| date | Mon, 01 Aug 2011 21:24:29 -0400 |
| parents | c370e587f483 |
| children | efc96910ddf2 b3faf593a471 |
| files | hgfastimport/hgimport.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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:
