Mercurial > public > mercurial-scm > hg
diff hgext/convert/subversion.py @ 5617:924fd86f0579
convert: fix SVN date parser dropping the final whole second digit
author | David J. Mellor <dmellor@whistlingcat.com> |
---|---|
date | Thu, 06 Dec 2007 13:10:25 -0800 |
parents | 03496d4fa509 |
children | 6e1a61b14bbf b32a0596b2d7 |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Tue Oct 23 10:39:24 2007 +0000 +++ b/hgext/convert/subversion.py Thu Dec 06 13:10:25 2007 -0800 @@ -590,7 +590,7 @@ # Example SVN datetime. Includes microseconds. # ISO-8601 conformant # '2007-01-04T17:35:00.902377Z' - date = util.parsedate(date[:18] + " UTC", ["%Y-%m-%dT%H:%M:%S"]) + date = util.parsedate(date[:19] + " UTC", ["%Y-%m-%dT%H:%M:%S"]) log = message and self.recode(message) author = author and self.recode(author) or ''