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:
Ryan Boren
2009-05-14 02:00:32 +00:00
parent 8efb468ed6
commit c4f78ad63a
17 changed files with 66 additions and 62 deletions
+1 -1
View File
@@ -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;
}