mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Removing date validation suggestion for datetime fields. Fixes #106
This commit is contained in:
parent
2b0d13733e
commit
32198c58d0
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ class ModelTask extends Shell {
|
|||
$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'];
|
||||
|
|
Loading…
Reference in a new issue