Actions
Feature #38965
closedAdd support for native date/time fields
Start date:
2012-07-15
Due date:
% Done:
100%
Estimated time:
PHP Version:
5.3
Tags:
Complexity:
medium
Sprint Focus:
Description
TYPO3 stores date and date/time values as a Unix timestamp. This feature allows native database types to be used instead.
Native fields must be marked as such in the TCA using the "xtype" key:
'native_date' => array( 'exclude' => 0, 'label' => 'LLL:EXT:test_nativedate/locallang_db.xml:tx_testnativedate_example.native_date', 'config' => array( 'xtype' => 'date', 'type' => 'input', 'size' => '8', 'max' => '20', 'eval' => 'date', 'checkbox' => '0', 'default' => '0' ) ),
"xtype" can be one of following value:
- date
- datetime
and works for any "type" of field.
Files
Actions