[dev] Time Layout Question

Wiktor Wodecki wiktor.wodecki at net-m.de
Tue Jan 6 18:31:04 CET 2004


On Mon, Jan 05, 2004 at 11:43:16AM +0100, Martin Edenhofer wrote:
> Hi Wiktor, hi Tom,
> 
> in OTRS 1.1 and higher the time format is configurable in the 
> translation file.
> 
> [Kernel/Language/de.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 - %T';
> [...]
> 
> [Kernel/Language/en.pm]
>     $Self->{DateFormat} = '%M/%D/%Y %T';
>     $Self->{DateFormatLong} = '%A %B %D %T %Y';
>     $Self->{DateInputFormat} = '%M/%D/%Y - %T';
> [...]
> 
> So it should be shown in the selected frontend language format. 

well, that's okay, but then OTRS doesn't use it across all places. I
will have a look at it tomorrow and comment again :-)

-- 
Regards,

Wiktor Wodecki

net mobile AG - 40470 Duesseldorf - Germany
923B DCF8 070C 9FDD 5E05  9AE3 E923 5A35 182C 9783


More information about the dev mailing list