Opened 8 months ago
Last modified 6 months ago
#22225 new enhancement
WordPress does not localize ordinal suffixes in dates
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | I18N | Version: | 3.4.2 |
| Severity: | normal | Keywords: | dev-feedback |
| Cc: |
Description
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.
Note: See
TracTickets for help on using
tickets.
Related: #11226