[dev] Time Layout Question

Martin Edenhofer me at otrs.de
Wed Jan 7 10:06:46 CET 2004


On Tue, Jan 06, 2004 at 06:31:04PM +0100, Wiktor Wodecki wrote:
> > 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 :-)

That could be. But in the CVS version it should. :)

> Regards,
> 
> Wiktor Wodecki
> 
> net mobile AG - 40470 Duesseldorf - Germany

  Martin Edenhofer

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
        http://www.otrs.de/ :: Manage your communication! 



More information about the dev mailing list