
On Fri, Jul 16, 2004 at 12:19:39PM +0900, Cogley, Rick wrote:
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.
Oh, I never heard about this. :) Anyway, this is something for the i18n mailing list to discuss. Because it's a language issue. Thanks Rick! :)
Regards Rick
Martin -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!