Tuesday, December 22, 2009

Re: How to change datetime month format number instead names

i first thought - you could have looked it up in the manual
but then i checked and: its not in there yet :)

so this is really something that has been hidden in den code

but if you have similar questions the fastest trick out there is:
look it up in the code

$defaults = array('monthNames' => true);
in month() in helpers/form.php

took me 10 seconds
this really speeds up your workflow - especially if you have to wait
for answers for several days etc

On 22 Dez., 04:39, kani <infok...@gmail.com> wrote:
> Cake questions helped me
>
> Solution 'monthNames' => false

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: