Adding case 'datetime' to validation guesses.

In ModelTask->fieldValidation added option "datetime"
This commit is contained in:
Fitorec 2012-06-08 02:18:52 -05:00 committed by mark_story
parent c090845117
commit 1bcb8daf21

View file

@ -440,6 +440,8 @@ class ModelTask extends BakeTask {
$guess = $methods['date'];
} elseif ($metaData['type'] == 'time') {
$guess = $methods['time'];
} elseif ($metaData['type'] == 'datetime') {
$guess = $methods['datetime'];
} elseif ($metaData['type'] == 'inet') {
$guess = $methods['ip'];
}