Must have been something stuck, because now a change is indeed showing up. However, it is not right -
 
Please assume this is in my utf-8 formatted "jp.pm" lang file and that there are double-byte chars after certain % variables in date formats. Since not everyone will be able to view the double-byte japanese chars, I replaced them with _JPN_ below.
 
   $Self->{Charset} = ['utf-8', ];
    # date formats (%A=WeekDay;%B=LongMonth;%T=Time;%D=Day;%M=Month;%Y=Jear;)
    $Self->{DateFormat} = '%Y/%M/%D %T';
    $Self->{DateFormatLong} = '%Y_JPN_ %B%D_JPN_ %A_JPN_ %T';     <<<<==== HERE
    $Self->{DateInputFormat} = '%Y/%M/%D';
    $Self->{DateInputFormatLong} = '%Y/%M/%D - %T';
 
Now, there is %B, which comes out correctly already with the japanese signifier on it meaning "month" but %Y, %D and %A only gives the YYYY, not YYYY_JPN_ etc which looks "normal" for a long date in Japan. The convention here in Japan on a long date would be to put the word "nen" in Japanese chars after the 2004. Looks like this: 2004Nen 7Gatsu 16Nichi KinYoubi, with the Nen, Gatsu, Nichi and Youbi appearing as Japanese text, where the YYYY, MMM, etc appear how the system represents them.  
 
Now, the strings I have entered are coming out on the screen as "junk". How do I make sure they get displayed correctly?
 
Regards
Rick
 


From: Cogley, Rick [mailto:rick.cogley@esolia.co.jp]
Sent: Friday, July 16, 2004 7:38 AM
To: 'User questions and discussions about OTRS.'
Subject: [otrs] Upper Right Date Format

Hello - does anyone know what governs the date format in the upper right side of the screens in OTRS?
I tried changing the long date format in my language file (jp.pm) but it has no effect, even after restarting the webserver.
 
Can anyone help? Is this a bug?
 
 
Regards
Rick Cogley
Tokyo