You appear to be a bot. Output may be restricted
Description
Return a localized version of the dateWordPress's date_i18n() function appears misnamed To internationalize a date we'd expect to store it as something that is UTC enabled To localize it we'd then put it into the preferred format and translate it
Usage
bw_date_i18n( $date );
Parameters
- $date
- ( mixed ) required –
Returns
voidSource
File name: oik-batchmove/admin/oik-batchmove-cron.phpLines:
1 to 6 of 6
function bw_date_i18n( $date ) { $format = get_option( 'date_format' ); $date = strtotime( $date ); $l10n_date = date_i18n( $format, $date ); return( $l10n_date ); }View on GitHub View on Trac