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:
parent
92546e4edb
commit
39fc94bc65
1 changed files with 8 additions and 0 deletions
|
@ -168,6 +168,14 @@ function farm_import_feeds_tamper_plugin($entity_type, $bundle, $source, $plugin
|
||||||
$settings = array();
|
$settings = array();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// Unix timestamp to date.
|
||||||
|
case 'timetodate':
|
||||||
|
$description = 'Unix timestamp to Date';
|
||||||
|
$settings = array(
|
||||||
|
'date_format' => 'Y-m-d',
|
||||||
|
);
|
||||||
|
break;
|
||||||
|
|
||||||
// Empty defaults.
|
// Empty defaults.
|
||||||
default:
|
default:
|
||||||
$description = '';
|
$description = '';
|
||||||
|
|
Loading…
Reference in a new issue