Modify

Opened 15 years ago

Closed 15 years ago

Last modified 10 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?

Attachments (0)

Change History (5)

comment:1 by Thomas Moschny, 15 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, 15 years ago

Owner: changed from anonymous to Thomas Moschny
Status: assignednew

comment:3 by Thomas Moschny, 15 years ago

Status: newassigned

comment:4 by Thomas Moschny, 15 years ago

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

comment:5 by Thomas Moschny, 15 years ago

Resolution: fixed
Status: assignedclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Thomas Moschny.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.