Change the date format

Moderator: crythias

Post Reply
jmdemetrio
Znuny newbie
Posts: 4
Joined: 28 Mar 2019, 19:02
Znuny Version: 6.32.12

Change the date format

Post by jmdemetrio »

Good morning

Is there a possibility to change the date format in the extraction of OTRS reports?

Currently the extraction comes with this definition of data "2019-03-27 14:37:12 (Europe/Lisbon)" but only interested in "27-03-2019"

Thank you
edi
Znuny newbie
Posts: 17
Joined: 20 Nov 2018, 16:10
Znuny Version: OTRS 4
Real Name: Eduard
Location: Russia
Contact:

Re: Change the date format

Post by edi »

Sure. Here is a possible solution: viewtopic.php?t=28560
jmdemetrio
Znuny newbie
Posts: 4
Joined: 28 Mar 2019, 19:02
Znuny Version: 6.32.12

Re: Change the date format

Post by jmdemetrio »

thanks
drodralv
Znuny advanced
Posts: 102
Joined: 26 Jul 2019, 08:25
Znuny Version: 5.0.28

Re: Change the date format

Post by drodralv »

Hello!

I have different problems with the date and i tried different ways to modify it.

Número #2019121800000258
Data de creación 12/18/2019 10:05
Asunto Servizo Proxy

One problem is using in notifications the tag reference <OTRS_TICKET_Created> . I want to switch days and months and i dont know how, i tried adding some date format code (as per the link in previous posts) in the Config.pm file with no success

Also, once choosing a date in the questionnaire, the format is fine ( i guess due to my personal preferences in OTRS) but when having the ticket results:

Data e franxa horaria desexada de publicación: 2020-12-18 09:01:00

This case i guess is due to the database configuration? I tried also modifying the NLS_DATE_FORMAT in config.pm with no success, any tip? I may have to contact DDBB admin for that?

Thank you in advance
Post Reply