[rt-users] Time fields in days

Kenneth Crocker kfcrocker at lbl.gov
Wed May 4 12:38:59 EDT 2011


Joosep,

I did that. However, I wanted to maintain the concept of 'hours', so I
changed the DataBase to contain all time fields with 3 decimal positions
(.125 = 1 hour). I changed all the displays, etc. to show that.

Kenn
LBNL

On Tue, May 3, 2011 at 11:21 PM, Joosep <joosepm at gmail.com> wrote:

> Hi list!
>
> RT version is 3.8.10 running on postgres 8.3.14 and debian 5.0.
>
> I'm trying to set RT to use unit "days" in time fields in addition to
> minutes and hours.
> I found similar thread in list archives:
> http://www.gossamer-threads.com/lists/rt/users/82265
>
> RT version in that thread was 3.8.2. It seems that things are changed a
> little since then.
> I have found, that some of necessary code is  in the file
> share/html/Elements/SelectTimeUnits.
> I have now unit "days" in the right place, but there is no relation between
> days and hours/minutes. I.e RT doesn't know how much minutes/hours 1 day is.
> Any idea where i can find that logic?
> If anybody knows better way to do it, i would be greatful to hear it.
>
> Thanks in advance,
> Joosep
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110504/4ccedf51/attachment.htm>


More information about the rt-users mailing list