Mercurial > hg
changeset 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 | 5133e9f61700 |
children | 6e1a61b14bbf badbefa55972 |
files | hgext/convert/subversion.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 ''