Issue Bug Closed

#26503Endtime cannot be removed

José Ricardo 04/29/11, 15:23 updated 02/20/12, 20:17

Description

On Typo3 4.5.2, when you set the endtime to any record, save and then remove the endtime, it will not be removed, but use today date.
It’s caused by this config on TCA of the record (field endtime):

‘range’ => array (
‘upper’ => mktime(3, 14, 7, 1, 19, 2038),
‘lower’ => mktime(0, 0, 0, date(‘m’)-1, date(‘d’), date(‘Y’))
)

Probably, when you remove the endtime (it’s set to 0) the TCE verifies that it’s lower than the “lower” range set above and reset the value to today.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.