Show More
@@ -143,7 +143,7 b' class darcs_source(common.converter_sour' | |||||
143 | def getcommit(self, rev): |
|
143 | def getcommit(self, rev): | |
144 | elt = self.changes[rev] |
|
144 | elt = self.changes[rev] | |
145 | dateformat = b'%a %b %d %H:%M:%S %Z %Y' |
|
145 | dateformat = b'%a %b %d %H:%M:%S %Z %Y' | |
146 | date = dateutil.strdate(elt.get('local_date'), dateformat) |
|
146 | date = dateutil.strdate(self.recode(elt.get('local_date')), dateformat) | |
147 | desc = elt.findtext('name') + '\n' + elt.findtext('comment', '') |
|
147 | desc = elt.findtext('name') + '\n' + elt.findtext('comment', '') | |
148 | # etree can return unicode objects for name, comment, and author, |
|
148 | # etree can return unicode objects for name, comment, and author, | |
149 | # so recode() is used to ensure str objects are emitted. |
|
149 | # so recode() is used to ensure str objects are emitted. |
General Comments 0
You need to be logged in to leave comments.
Login now