[rt-devel] Finer-grained due dates

Ruslan U. Zakirov cubic at acronis.ru
Fri Aug 29 11:29:35 EDT 2003


Graeme Pyle wrote:

> Hi folks,
>
> I would like to be able to set the default due date for a queue down 
> to the minute.
>
> I'm planning to patch my RT to allow input of the form of "d h s" 
> (days hours seconds) in the due date input field. Originally I thought 
> I would just compute a number representing a fraction of a day from 
> this input, but I see that the due date field doesn't keep fractions, 
> so I'll probably have to turn that field into a float as well.

You are wrong here look at this
select Due from Tickets where unix_timestamp(Due) > 0 limit 1;
Due
2002-12-06 05:00:00
Also RT::Date module can handle time to seconds precision. You only have
to add handling of this information in web forms and output code.

>
>
> Does this make sense? Am I missing anything/doing something dumb?
>
> Thanks,
>
> Graeme
>
> P.S. Shall I post a patch back to this list?
>
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel







More information about the Rt-devel mailing list