Configuration of TIME and DATE formats?

I have not been able to find a way to modify the way a DATE and a TIME is displayed, is it possible to change the formatting of these in OTRS 1.3.1? What I want is "YYYY-MM-DD" for dates, and "HH:MM" (24h) for time. Alternatively, I'd like "WWW, MMM DD YYYY" for dates ("Fri, Oct 01 2004"). -joho

Hi Joaquim, Joaquim Homrighausen wrote:
I have not been able to find a way to modify the way a DATE and a TIME is displayed, is it possible to change the formatting of these in OTRS 1.3.1?
What I want is "YYYY-MM-DD" for dates, and "HH:MM" (24h) for time. Alternatively, I'd like "WWW, MMM DD YYYY" for dates ("Fri, Oct 01 2004").
This is a tranlsation option. For example: [Kernel/Language/en.pm] # date formats (%A=WeekDay;%B=LongMonth;%T=Time;%D=Day;%M=Month;%Y=Jear;) $Self->{DateFormat} = '%D.%M.%Y %T'; $Self->{DateFormatLong} = '%A %D %B %T %Y'; $Self->{DateInputFormat} = '%D.%M.%Y'; $Self->{DateInputFormatLong} = '%D.%M.%Y - %T'; [...] I hope this is what you want.
-joho
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Quoting Martin Edenhofer
I have not been able to find a way to modify the way a DATE and a TIME is displayed, is it possible to change the formatting of these in OTRS 1.3.1?
What I want is "YYYY-MM-DD" for dates, and "HH:MM" (24h) for time. Alternatively, I'd like "WWW, MMM DD YYYY" for dates ("Fri, Oct 01 2004").
This is a tranlsation option. For example:
[Kernel/Language/en.pm]
# date formats (%A=WeekDay;%B=LongMonth;%T=Time;%D=Day;%M=Month;%Y=Jear;) $Self->{DateFormat} = '%D.%M.%Y %T'; $Self->{DateFormatLong} = '%A %D %B %T %Y'; $Self->{DateInputFormat} = '%D.%M.%Y'; $Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
participants (2)
-
Joaquim Homrighausen
-
Martin Edenhofer