[TYPO3-english] core bug? can't delete endtime since update to 4.5 in several extensions eg. tt_news, dam, macina_banners

Felix Nagel lists at felixnagel.com
Fri Jul 15 10:30:40 CEST 2011


Am 12.07.2011 23:25, schrieb Jigal van Hemert:

> I checked the core for how range fields are handled. In
> t3lib_TCEmain::checkValue_input() it will only enforce upper and or
> lower limits if the following conditions are met:
> - range is set
> - the value is not equal to the checkbox field
> - the value is not equal to the default field
>
> In case of date fields the most logical configuration is that the
> default value is '0', which means no date set for TYPO3.

So we should use "0" instead of "mktime(0, 0, 0, date('m')-1, date('d'), 
date('Y'))" which was used the last years and is generated by 
kickstarter. Any disadvantages? Why has this changed?

-- 
Regards
Felix Nagel


More information about the TYPO3-english mailing list