try with 'maxYear' => date('Y');

On Mon, Feb 25, 2008 at 8:01 AM, Mouse[ON] <[EMAIL PROTECTED]> wrote:
>
>  Hi guys,
>
>   Anyone tried using echo $form->dateTime(Model.field, 'YMD', NONE,
>  null, array('minYear'=>1900, 'maxYear'=>date('Ymd')), false); ??
>
>  because i don't know maybe its just for me but if i add minYear and/or
>  maxYear in options array and try to load web page my server just eats
>  all memory in seconds, if i remove minYear/maxYear option everything
>  works perfect. I can see how just in seconds apache eats several
>  hundred mb of memory when trying to make cake show min/maxYear.
>
>  anyone had this problem? or knows solution without using $form year,
>  month and day helpers?
>
>  ty.
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to