Closed GoogleCodeExporter closed 9 years ago
From the regular expressions, it looks like the dates for revisions used to
just be displayed as dates, but not it
includes a date and time. I'll look into it.
Original comment by Kevin.Da...@gmail.com
on 5 Jul 2008 at 1:45
Actually, a closer look shows that it isn't dates and times, but a time zone
that was added. I added that as an
optional part of the regular expression.
Original comment by Kevin.Da...@gmail.com
on 5 Jul 2008 at 1:50
Thanks,
The matching now works but the conversion to datetime has some issues:
Exception in thread Thread-29:
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py",
line
486, in __bootstrap_inner
self.run()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py",
line
446, in run
self.__target(*self.__args, **self.__kwargs)
File
"/Users/codyprecord/Desktop/devel/Editra/plugins/editra-plugins/trunk/Projects/p
rojects/ProjectPane.py",
line 961, in resultWrapper
result.append(method(*args, **kwargs))
File
"/Users/codyprecord/Desktop/devel/Editra/plugins/editra-plugins/trunk/Projects/p
rojects/CVS.py",
line 129, in history
current['date'] = self.str2datetime(m.group(1))
File
"/Users/codyprecord/Desktop/devel/Editra/plugins/editra-plugins/trunk/Projects/p
rojects/CVS.py",
line 224, in str2datetime
for x in re.split(r'[\s+/:]', s.strip()) if x])
ValueError: invalid literal for int() with base 10: '2008-05-23'
Original comment by CodyPrec...@gmail.com
on 5 Jul 2008 at 2:59
I added "-" as a split character for that expression as well. It should work
now.
Original comment by Kevin.Da...@gmail.com
on 5 Jul 2008 at 3:20
Looks good
Thanks
Original comment by CodyPrec...@gmail.com
on 5 Jul 2008 at 3:22
Move old 'fixed' issues to verified
Original comment by CodyPrec...@gmail.com
on 3 Feb 2009 at 8:18
Original issue reported on code.google.com by
CodyPrec...@gmail.com
on 5 Jul 2008 at 1:05