Changing date output of Escalation Time Dashboard item

English! place to talk about development, programming and coding
Post Reply
cgraamans
Znuny newbie
Posts: 5
Joined: 03 Nov 2010, 15:39
Znuny Version: 2.4.5

Changing date output of Escalation Time Dashboard item

Post by cgraamans »

Hi all,

I'm trying to fix an issue I have with OTRS 2.4.5, which is, namely, that the Escalation time in the Dashboard is displayed as a negative number and in hours and minutes.

I'd like to make the date appear in days, hours (and minutes) and possibly not as a negative number. I've been digging through the functions but can't seem to follow the logic of the application. Anyone got any idea on how to change that value?

Example below:

Escalated Tickets
2010091031001333 VIDEOPROIETTORE Fabio.Mancini -894 hours 4 minutes <---- this needs to be changed....

New Tickets
2010100131000107 Kupa - Pomoc Hana.Mehsam 33 days 6 hours <--- into something like this....

Thanks guys, hope you can help!

Kind regards,

C.
cgraamans
Znuny newbie
Posts: 5
Joined: 03 Nov 2010, 15:39
Znuny Version: 2.4.5

Re: Changing date output of Escalation Time Dashboard item

Post by cgraamans »

Nobody knows?

:(

Edit: this is starting to become an urgent issue for me. If someone can point me to a place where I can get information on making my own custom Dashboard widgets, that'll do me just fine as well. Any help at this point would be greatly appreciated.
Post Reply