You are here

function datex_format_date in Datex 7.2

Same name and namespace in other branches
  1. 7.3 datex.module \datex_format_date()

php->date() localalized version. With default values for Drupal.

2 calls to datex_format_date()
datex_tokens in ./datex.tokens.inc
Implements hook_tokens().
datex_token_info in ./datex.tokens.inc
Implements hook_token_info().

File

datex_api/datex_api.module, line 190

Code

function datex_format_date($locale, $datetime, $format, $tz = NULL, $intl = NULL) {
  if (!$tz) {
    $tz = drupal_get_user_timezone();
  }
  if (!$intl) {
    $intl = _datex_cfg('useintl');
  }
  return datex_format($locale, $datetime, $format, $tz, $intl);
}