Make WordPress Core

Ticket #26185: 26185.date_i18n.diff

File 26185.date_i18n.diff, 827 bytes (added by morganestes, 11 years ago)

date_i18n

  • wp-includes/functions.php

     
    8080 *
    8181 * @since 0.71
    8282 *
    83  * @param string $dateformatstring Format to display the date.
    84  * @param int $unixtimestamp Optional. Unix timestamp.
    85  * @param bool $gmt Optional, default is false. Whether to convert to GMT for time.
     83 * @param string   $dateformatstring Format to display the date.
     84 * @param bool|int $unixtimestamp    Optional. Unix timestamp.
     85 * @param bool     $gmt              Optional, default is false. Whether to convert to GMT for time.
     86 *
    8687 * @return string The date, translated if locale specifies it.
    8788 */
    8889function date_i18n( $dateformatstring, $unixtimestamp = false, $gmt = false ) {