Problem with date formatting I've a strange problem with Date formatting in Chinese.



The 年 string has to appear after year(for example 2013年). The string appears in all years before 2013 and also in 2013. But if it is future year(2014, 2015 etc) then it doesn't appear.

This is the date format used.

Y\年 n\月 j\日


I am not sure if it is Drupal's problem or PHP's. And I have no clue how to debug this issue. Any kind of hint is most welcome.
I don't know really why but I have a solution for you 
first put you result in a variable, ( try you result something like this Y/n/j )
then exclude variable by / and finally use your character.

$temp=date('Y/n/j');
list($y,$n,$j)=exclude('\/',$temp);
$final="$y\年 $n\月 $j\日";


I hope be useful for you. :)