[SOLVED] Express ticket age in days only

Moderator: crythias

Post Reply
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

[SOLVED] Express ticket age in days only

Post by HervE »

Hello forum,

Is it possible to have ticket age expressed in days only (instead of days hours minutes)?

Best regards,
HervE
Last edited by HervE on 10 Dec 2014, 12:36, edited 1 time in total.
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Express ticket age in days only

Post by HervE »

An idea, anybody?

Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Express ticket age in days only

Post by reneeb »

Simple solution: Add

Code: Select all

return $AgeStrg;
in https://github.com/OTRS/otrs/blob/rel-4 ... t.pm#L1899
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Express ticket age in days only

Post by HervE »

Very simple indeed!
I tried, and it immediately worked pretty fine!

Many thanks.

Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Post Reply