CakeDC/users — Issue #42: Date deconstruction invalid for non-DDMMYY date formats
Author: mattsteven
Created: 2012-01-25 21:27:20+00:00
State: open

UserDetail tries to insert Array as a value because it fails to detect alternative date formats.

Search the UserDetail.php model's saveSection function for this comment:

// Quickfix for date inputs - TODO Try to use $this->deconstruct()?

The following line has the date detection format hardcoded. This is obviously a problem for those who rearrange things. Either a quick loop with in_array or possibly following the TODO in the line would solve the problem and make any related date format possible.