Remove obsolete mysql2date documentation. Props Viper007Bond. Fixes #20056.
git-svn-id: https://develop.svn.wordpress.org/trunk@19973 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ccd9fbbbbb
commit
3b607e3675
@ -10,16 +10,12 @@ require( ABSPATH . WPINC . '/option.php' );
|
||||
/**
|
||||
* Converts MySQL DATETIME field to user specified date format.
|
||||
*
|
||||
* If $dateformatstring has 'G' value, then gmmktime() function will be used to
|
||||
* make the time. If $dateformatstring is set to 'U', then mktime() function
|
||||
* will be used to make the time.
|
||||
*
|
||||
* The $translate will only be used, if it is set to true and it is by default
|
||||
* and if the $wp_locale object has the month and weekday set.
|
||||
* The $translate parameter will only be used, if it is set to true and it is by
|
||||
* default and if the $wp_locale object has the month and weekday set.
|
||||
*
|
||||
* @since 0.71
|
||||
*
|
||||
* @param string $dateformatstring Either 'G', 'U', or php date format.
|
||||
* @param string $dateformatstring Either 'G', 'U', or PHP date format.
|
||||
* @param string $mysqlstring Time from mysql DATETIME field.
|
||||
* @param bool $translate Optional. Default is true. Will switch format to locale.
|
||||
* @return string Date formatted by $dateformatstring or locale (if available).
|
||||
|
Loading…
Reference in New Issue
Block a user