Modify

Opened 13 years ago

Closed 13 years ago

Last modified 8 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 Changed 13 years ago by Thomas Moschny

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 Changed 13 years ago by Thomas Moschny

Owner: changed from anonymous to Thomas Moschny
Status: assignednew

comment:3 Changed 13 years ago by Thomas Moschny

Status: newassigned

comment:4 Changed 13 years ago by Thomas Moschny

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

comment:5 Changed 13 years ago by Thomas Moschny

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.