[wp-trac] Re: [WordPress Trac] #7753: Use of localized calendar
system and translating digits in entire WordPress
WordPress Trac
wp-trac at lists.automattic.com
Tue May 5 10:54:15 GMT 2009
#7753: Use of localized calendar system and translating digits in entire WordPress
-------------------------------------+--------------------------------------
Reporter: kambiz.k | Owner: anonymous
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: i18n | Version: 2.6.1
Severity: normal | Resolution: invalid
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Changes (by Denis-de-Bernardy):
* status: new => closed
* resolution: => invalid
* milestone: 2.8 =>
Comment:
I'm closing this as invalid, but please understand it as fixed. a few trac
versions back, we added two lines to date_i18n(), as follows:
{{{
// allow plugins to redo this entirely for languages with
untypical grammars
$j = apply_filters('date_i18n', $j, $req_format, $unixtimestamp,
$gmt);
return $j;
}}}
the use-case was slightly different (it was for a polish translator), but
it does the exact same job as what you're doing with the pre_date_i18n,
and it seems to me that this'll allow to achieve what you're looking for
without a hiccup.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7753#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list