Add support for Feeds Tamper plugin: Unix timestamp to date.
This commit is contained in:
parent
92546e4edb
commit
39fc94bc65
|
@ -168,6 +168,14 @@ function farm_import_feeds_tamper_plugin($entity_type, $bundle, $source, $plugin
|
|||
$settings = array();
|
||||
break;
|
||||
|
||||
// Unix timestamp to date.
|
||||
case 'timetodate':
|
||||
$description = 'Unix timestamp to Date';
|
||||
$settings = array(
|
||||
'date_format' => 'Y-m-d',
|
||||
);
|
||||
break;
|
||||
|
||||
// Empty defaults.
|
||||
default:
|
||||
$description = '';
|
||||
|
|
Loading…
Reference in New Issue