Re: v2.x documentation error / typo

2012-01-27 Thread euromark
yes, it is. the format behind the hood (model level) should always be unified and not dependent on the locale settings of the current user/language/ country etc therefore the format there will always be -MM-DD. how you display the date in the form is your locale choice and is not affected by a

Re: v2.x documentation error / typo

2012-01-27 Thread stig
> On Jan 26, 2:38 pm, stig wrote: > > > In the 2.0 manual. Caused some > > headache.http://book.cakephp.org/2.0/en/models/data-validation.html > > -> Validation::datetime says to  specify datetime format as > > array('datetime', 'dmy'), when really it's supposed to be > > array('datetime' => 'dmy

Re: v2.x documentation error / typo

2012-01-26 Thread AD7six
On Jan 26, 2:38 pm, stig wrote: > In the 2.0 manual. Caused some > headache.http://book.cakephp.org/2.0/en/models/data-validation.html > -> Validation::datetime says to  specify datetime format as > array('datetime', 'dmy'), when really it's supposed to be > array('datetime' => 'dmy') Please c

v2.x documentation error / typo

2012-01-26 Thread stig
In the 2.0 manual. Caused some headache. http://book.cakephp.org/2.0/en/models/data-validation.html -> Validation::datetime says to specify datetime format as array('datetime', 'dmy'), when really it's supposed to be array('datetime' => 'dmy') -- Our newest site for the community: CakePHP Video