1.20.x date.module date_process_values($field)

Helper function to create an array of the date values in a field that need to be processed.

File

modules/date/date.module, line 440
Defines date/time field types.

Code

function date_process_values($field) {
  return $field['settings']['todate'] ? array('value', 'value2') : array('value');
}