Nothing looks odd there. Has the date changed on your server? Out of interest, why are you using Sanitize?
On 18 Jun 2011, at 22:58, krisspnet wrote: > Hi everyone, > > From the begining the 'minYear' and 'maxYear' in the code below worked > pretty well. > However since 1 week it begins to fail. > Does anyone knows why the following code display from 1991 to 2031 where it > has displayed from 1911 to 2011 before ? > > echo $form->inputs(array( > 'legend' => __('Edit', true), > /* ... */ > Sanitize::html('birthday') => array('type' => 'date', > array('minYear' => date('Y') - 100, 'maxYear' => date('Y'))) > )); > echo $form->end(__('Submit', true)); > > -- > View this message in context: > http://cakephp.1045679.n5.nabble.com/Recent-troubles-with-minYear-and-maxYear-tp4502140p4502140.html > Sent from the CakePHP mailing list archive at Nabble.com. > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php