Modify

Opened 7 weeks ago

Last modified 5 weeks ago

#14338 new defect

Unable to use custom field as start_date and due_date

Reported by: anonymous Owned by: Jun Omae
Priority: normal Component: TicketCalendarPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description (last modified by Ryan J Ollos)

Setting custom start_date and due_date doesn't work.

Setting example:

[ticketcalendar]
ticket.start_date = due_assign
ticket.start_date.format = %Y-%m-%d
ticket.due_date = due_close
ticket.due_date.format = %Y-%m-%d

After analyze source code, detect wrong parameters are passed to _to_date function in web_ui.py file.

125 def _to_date(self, d, format='%d/%m/%Y'):

After removing the self parameter, custom date started working.

Attachments (0)

Change History (1)

comment:1 Changed 5 weeks ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Jun Omae.

Add Comment


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

 
Note: See TracTickets for help on using tickets.