Make WordPress Core

Opened 21 months ago

Last modified 19 months ago

#22225 new enhancement

WordPress does not localize ordinal suffixes in dates

Reported by: mihaimihai Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.4.2
Component: I18N Keywords: dev-feedback
Focuses: Cc:


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


<?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.

Change History (2)

Note: See TracTickets for help on using tickets.