Date format with genitive case of the month name is not working

Question

WordPress 4.4 indroduced a way to display the genitive case of a months name for specific locale by using the function date_i18n (https://core.trac.wordpress.org/ticket/11226#comment:32) which is filtered by wp_maybe_decline_date() (https://core.trac.wordpress.org/browser/tags/4.6/src/wp-includes/functions.php#L172). Even though both my locale (el) and the translation of the string “decline months names: on or off” in my el.po file are correct, the genitive case of the months name is not working. So with this: echo date_i18n( 'j F Y', strtotime( '2016/9/20' ) ); I got the date with the month name in nominative case.

Any ideas? Thanks in advance!

0
vadims 3 months 0 Answers 4 views 0

Leave an answer