#79975TCA -> input -> eval: 'time' not relative timestamp
Description
Hi,
any ‘time’ field in my extension (cal) produces absolute timestamps, not relative like described: The display will be like “23:45” while the database will be “85500“
I’m getting: 1487886300
My tca:
'start_time' => array(
'exclude' => 1,
'label' => 'LLL:EXT:cal/Resources/Private/Language/locallang_db.xml:tx_cal_event.start_time',
'displayCond' => 'FIELD:allday:!=:1',
'config' => array(
'type' => 'input',
'size' => '12',
'max' => '20',
'eval' => 'time',
'default' => '0'
)
),Reviews 3
- main 51970[BUGFIX] different handling for evaluating time, timesec and date & datetime
- main 51966[BUGFIX] Tests should also respect the different handling for evaluating time, timesec
- main 51964[BUGFIX] different handling for evaluating time, timesec and date & datetime date & datetime are absolute timestamps, but time and timesec are relative timestamps.