git-svn-id: https://develop.svn.wordpress.org/trunk@10504 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4ad180ca5b
commit
0f8e0c3b74
@ -37,7 +37,10 @@ function mysql2date( $dateformatstring, $mysqlstring, $translate = true ) {
|
||||
if( 'U' == $dateformatstring )
|
||||
return $i;
|
||||
|
||||
return date_i18n( $dateformatstring, $i );
|
||||
if ( $translate)
|
||||
return date_i18n( $dateformatstring, $i );
|
||||
else
|
||||
return date( $dateformatstring, $i );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user