You are here

function date_field_diff_default_options in Date 7.2

Same name and namespace in other branches
  1. 7.3 date.diff.inc \date_field_diff_default_options()

Provide default field comparison options.

File

./date.diff.inc, line 43
Provide diff field functions for the Date module.

Code

function date_field_diff_default_options($field_type) {
  return array(
    'format_type' => 'long',
    'fromto' => 'both',
  );
}