Problem while changing date format

Moderator: crythias

Locked
rohit1
Znuny newbie
Posts: 73
Joined: 19 Feb 2011, 12:05
Znuny Version: 3.0.5

Problem while changing date format

Post by rohit1 »

Hi all,

I am working on to change the date format to English (DD/MM/YYYY) rather than American (MM/DD/YYYY) ??

In Kernel/Language/en.pm, i changed code as below:

Change '$Self->{DateFormat} = '%M/%D/%Y %T'; to $Self->{DateFormat} = '%D/%M/%Y %T';
Change $Self->{DateInputFormat} = '%M/%D/%Y'; to $Self->{DateInputFormat} = '%D/%M/%Y'
Change $Self->{DateInputFormatLong} = '%M/%D/%Y - %T'; to $Self->{DateInputFormatLong} = '%D/%M/%Y - %T'


After this when i created new phone ticket, on the AgentTicketZoom page, the date is showing in the below format at the right end
Created: DateFormat needs to be translated

Please suggest for the above error message

Regards
Rohit Singh
Regards
Rohit Singh
OTRS 3.0.7
Platform: Windows XP, MAC OS X
DB: OTRS db
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Problem while changing date format

Post by crythias »

Why not just change your language in preferences?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked