Skip to content

Commit

Permalink
Removing date validation suggestion for datetime fields. Fixes #106
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 22, 2009
1 parent 2b0d137 commit 32198c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/console/libs/tasks/model.php
Expand Up @@ -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'];
Expand Down

0 comments on commit 32198c5

Please sign in to comment.