Emmanuel wrote:
> Is it possible to create a custom field that is of a DATE type?
> 
> For example, we would like to add "Due Date" to our tickets (why it
> isn't there by default already... beats me).
> 
> http://trac.cotede.net/trac/cotede/wiki/TracTicketsCustomFields does
> not list any "date" type field.
> 

I wrote a patch that uses javascript in the browser to perform 
preprocessing on custom fields before that are submitted.  This is not 
perfect but if all your users have broswers with js turned on and the 
processing is a convenience rather than a  security requirement then it 
works well.

I have fields for integer, write once integer and cumulative integer. 
It should be easy to add a date field using a date picker.  I only had 
to add code to the trac.js file and the clearsilver templates for ticket 
and new ticket.

I couldn't find the original email in the online archives as the links 
to gmane seem to be broken. If you are interested I'll repost the patch 
here.

Regards,
Felix

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to