3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

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

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