Project

General

Profile

Bug #79975

Updated by Josef Glatz about 7 years ago

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: 

 <pre> 
 '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' 
					 ) 
			 ), 
 </pre>

Back