[wp-trac] [WordPress Trac] #22225: WordPress does not localize ordinal suffixes in dates
WordPress Trac
noreply at wordpress.org
Fri Oct 19 08:39:09 UTC 2012
#22225: WordPress does not localize ordinal suffixes in dates
-----------------------------+-------------------------
Reporter: mihaimihai | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: I18N
Version: 3.4.2 | Severity: normal
Keywords: dev-feedback |
-----------------------------+-------------------------
In wp-includes/functions.php function date_i18n(), elements like month,
month abbreviation, weekday etc.. are localized but not the ordinal
suffixes (e.g. st, nd, rt, th)
effect: when using the ordinal suffixes for dates
e.g.
{{{
<?php the_time('F jS, Y'); ?>
}}}
on translated/localized page page, the month name is translated (F) but
the ordinal suffix no.
Not browser/OS/environment dependent.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22225>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list