git-svn-id: http://svn.automattic.com/wordpress/trunk@10504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
85e1fa1d99
commit
09f0789e08
|
@ -37,7 +37,10 @@ function mysql2date( $dateformatstring, $mysqlstring, $translate = true ) {
|
||||||
if( 'U' == $dateformatstring )
|
if( 'U' == $dateformatstring )
|
||||||
return $i;
|
return $i;
|
||||||
|
|
||||||
|
if ( $translate)
|
||||||
return date_i18n( $dateformatstring, $i );
|
return date_i18n( $dateformatstring, $i );
|
||||||
|
else
|
||||||
|
return date( $dateformatstring, $i );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue