Because strftime (behind formatTime:DATE_FORMAT_ENTRY) even with setlocale() doesn't do (and can't) it excellent for languages, which have cases forms (Kasusendungen, Ich richtig gesagt?). %B always generates ucfirst'ed nominative, but language rules may require different form - lowercased genitive , f.e for Russian and some other East European languages.
I know, it can be easy solved by additional modifier (it's one-string-function in pure PHP)
Code: Select all
return strtr(date(....), $langmonth);
Just example
Четверг, 3 Март 2011 => Четверг, 3 марта 2011