#30208Timepicker can't changed oldValue
Description
If i start a new recordset and will set a new “datetime” i get an Javascript error:
oldValue is undefined
date.setHours(oldValue.getHours());
If we set an default value like
'default' => mktime(date('h'),date('i'),0,date('m'),date('d'),date('Y')),
all is okay.
The problem exist only in TYPO3 4.4.11. In TYPO3 4.5.6 it’s fine.
Configuration:
'starttime' => array (
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
'config' => array (
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'datetime',
'default' => '0',
'checkbox' => '0'
)
),Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.