[Typo3-dev] "upper" => mktime(0,0,0,12,31,date("Y")+20)

Martin Kutschker Martin.T.Kutschker at blackbox.net
Sat Oct 4 08:59:09 CEST 2003


From: Michiel van Leening <leening at saurus.nl>
Date: Fri, 03 Oct 2003 11:30:18 +0200

On Thu, 2003-10-02 at 18:34, Martin Kutschker wrote:
> >
> > Perhaps a better default for the Extension Kickstarter instead of
> > the hardcoded 2020.
>
> But isn't this coded to be 2023. And next year it will be 2024 ...

Ok, yes. The limit will move into the future. But the upper limit will not change after creation of the TCA entry.

The code in the subject will get you a *dynamic* upper limit.

So your Typo3 installation will keep working without changed for more than 20 years :-)


> I maybe wrong, but i doubt it :-)

What do you doubt?

Masi 





More information about the TYPO3-dev mailing list