many datetime.datetime to int compare errors as of trac rev 4475
From casual inspection it seems that either trac switched to datetime objects or earlier checks/conversions are not present anymore in the trac trunk (rev 4475 )
Inserting conversions (for example in util/datefmt.py) helps getting rid of some, but i wonder is the mtn.dates() method should perhaps be adapted to return a list of datetime objects?
Change History
(5)
Owner: |
changed from Thomas Moschny to anonymous
|
Status: |
new → assigned
|
Owner: |
changed from anonymous to Thomas Moschny
|
Status: |
assigned → new
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
You are perfectly right, mtn.dates() should return datetime objects. I already have a patch, need to polish it a bit as to not break compatibility with trac 0.10.