Hi everyone, 

>From the begining the 'minYear' and 'maxYear' worked for me.
However since 1 week it fails.
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/form-dateTime-using-minYear-maxYear-problem-tp1289847p4498586.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

Reply via email to