# HG changeset patch # User David J. Mellor # Date 2007-12-06 21:10:25 # Node ID 924fd86f0579fddced59871d6a8459b60d5e5781 # Parent 5133e9f61700b9f802018b36ba53c923ba7ad6ad convert: fix SVN date parser dropping the final whole second digit diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py --- a/hgext/convert/subversion.py +++ b/hgext/convert/subversion.py @@ -590,7 +590,7 @@ class svn_source(converter_source): # 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 ''