Skip to content
Permalink
Browse files

Removing date validation suggestion for datetime fields. Fixes #106

  • Loading branch information...
markstory committed Sep 22, 2009
1 parent 2b0d137 commit 32198c58d0df142907c23a1aba8b11df5d81b8ae
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/console/libs/tasks/model.php
@@ -405,7 +405,7 @@ function fieldValidation($fieldName, $metaData, $primaryKey = 'id') {
$guess = $methods['numeric'];
} elseif ($metaData['type'] == 'boolean') {
$guess = $methods['boolean'];
} elseif ($metaData['type'] == 'datetime' || $metaData['type'] == 'date') {
} elseif ($metaData['type'] == 'date') {
$guess = $methods['date'];
} elseif ($metaData['type'] == 'time') {
$guess = $methods['time'];

0 comments on commit 32198c5

Please sign in to comment.
You can’t perform that action at this time.