You are here

function elysia_cron_date in Elysia Cron 5.2

Same name and namespace in other branches
  1. 5 elysia_cron.admin.inc \elysia_cron_date()
  2. 6.2 elysia_cron.admin.inc \elysia_cron_date()
  3. 6 elysia_cron.admin.inc \elysia_cron_date()
  4. 7.2 elysia_cron.admin.inc \elysia_cron_date()
  5. 7 elysia_cron.admin.inc \elysia_cron_date()
1 call to elysia_cron_date()
elysia_cron_admin_page in ./elysia_cron.admin.inc

File

./elysia_cron.admin.inc, line 666

Code

function elysia_cron_date($timestamp) {
  return $timestamp > 0 ? format_date($timestamp, EC_DRUPAL_VERSION >= 7 ? 'short' : 'small') : t('n/a');

  //return date(variable_get('date_format_short', 'm/d/Y - H:i'), $timestamp);
}