Add support for Feeds Tamper plugin: Unix timestamp to date.

This commit is contained in:
Michael Stenta 2017-11-27 16:29:12 -05:00
parent 92546e4edb
commit 39fc94bc65
1 changed files with 8 additions and 0 deletions

View File

@ -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 = '';