Re: Recent troubles with 'minYear' and 'maxYear'
No idea ? -- View this message in context: http://cakephp.1045679.n5.nabble.com/Recent-troubles-with-minYear-and-maxYear-tp4502140p4513633.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
Re: Recent troubles with 'minYear' and 'maxYear'
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
Re: Recent troubles with 'minYear' and 'maxYear'
Well no, the date did not changed on the server... /Off topic : Yes, true the use of Sanitize is not required./ -- View this message in context: http://cakephp.1045679.n5.nabble.com/Recent-troubles-with-minYear-and-maxYear-tp4502140p4513700.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
Re: Recent troubles with 'minYear' and 'maxYear'
did you try a simply echo $this-Form-input() instead of inputs()? On 22 Jun., 13:21, krisspnet christophe.pou...@gmail.com wrote: Well no, the date did not changed on the server... /Off topic : Yes, true the use of Sanitize is not required./ -- View this message in context:http://cakephp.1045679.n5.nabble.com/Recent-troubles-with-minYear-and... 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
Re: Recent troubles with 'minYear' and 'maxYear'
Yes I have tried, but the problem remains the same. -- View this message in context: http://cakephp.1045679.n5.nabble.com/Recent-troubles-with-minYear-and-maxYear-tp4502140p4514201.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