Ticket #20056: 20056.patch
| File 20056.patch, 1.2 KB (added by Viper007Bond, 15 months ago) |
|---|
-
wp-includes/functions.php
10 10 /** 11 11 * Converts MySQL DATETIME field to user specified date format. 12 12 * 13 * If $dateformatstring has 'G' value, then gmmktime() function will be used to 14 * make the time. If $dateformatstring is set to 'U', then mktime() function 15 * will be used to make the time. 13 * The $translate parameter will only be used, if it is set to true and it is by 14 * default and if the $wp_locale object has the month and weekday set. 16 15 * 17 * The $translate will only be used, if it is set to true and it is by default18 * and if the $wp_locale object has the month and weekday set.19 *20 16 * @since 0.71 21 17 * 22 * @param string $dateformatstring Either 'G', 'U', or phpdate format.18 * @param string $dateformatstring Either 'G', 'U', or PHP date format. 23 19 * @param string $mysqlstring Time from mysql DATETIME field. 24 20 * @param bool $translate Optional. Default is true. Will switch format to locale. 25 21 * @return string Date formatted by $dateformatstring or locale (if available).
