mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -122,7 +122,7 @@ function date_i18n( $dateformatstring, $unixtimestamp = false, $gmt = false ) {
|
||||
}
|
||||
$j = @$datefunc( $dateformatstring, $i );
|
||||
// allow plugins to redo this entirely for languages with untypical grammars
|
||||
$j = apply_filters('date_i18n', $j, $req_format, $unixtimestamp, $gmt);
|
||||
$j = apply_filters('date_i18n', $j, $req_format, $i, $gmt);
|
||||
return $j;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user