Opened 18 years ago

Closed 18 years ago

Last modified 3 years ago

#2 closed defect (fixed)

many datetime.datetime to int compare errors as of trac rev 4475

Reported by: marcel@… Owned by: Thomas Moschny
Priority: major Component: tracmtn
Version: Keywords:
Cc:

Description

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)

comment:1 by Thomas Moschny, 18 years ago

Owner: changed from Thomas Moschny to anonymous
Status: newassigned

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.

comment:2 by Thomas Moschny, 18 years ago

Owner: changed from anonymous to Thomas Moschny
Status: assignednew

comment:3 by Thomas Moschny, 18 years ago

Status: newassigned

comment:4 by Thomas Moschny, 18 years ago

Fixed in r05e4a03d et seq., please test the new version 0.0.3.

comment:5 by Thomas Moschny, 18 years ago

Resolution: fixed
Status: assignedclosed

Closing this bug. Feel free to reopen it in case something is still not working.

Note: See TracTickets for help on using tickets.