You are here

function views_handler_field_date_custom in Views (for Drupal 7) 5

Format a date using custom representation.

File

./views.module, line 1641

Code

function views_handler_field_date_custom($fieldinfo, $fielddata, $value, $data) {
  return $value ? format_date($value, 'custom', $fielddata['options']) : theme('views_nodate');
}