Modify ↓
Opened 8 months ago
Closed 3 months ago
#14338 closed defect (fixed)
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 )
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 (2)
comment:1 Changed 8 months ago by
Description: | modified (diff) |
---|
comment:2 Changed 3 months ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
You're right. That's my fault in [18553].
Fixed in [18653]. Thanks.