|
|
|
|
97
|
}
|
97
|
}
|
98
|
else if ($type == "datetime" || $type == "date" || $type == "DateTime"
|
98
|
else if ($type == "datetime" || $type == "date" || $type == "DateTime"
|
99
|
|| $type == 'Carbon\Carbon' || $type == 'Carbon') {
|
99
|
|| $type == 'Carbon\Carbon' || $type == 'Carbon') {
|
100
|
- $dbo = LuDateDateTime::jsonDeserialize($value);
|
|
|
|
|
100
|
+ $dbo = LuDateTimeDbo::jsonDeserialize($value);
|
101
|
$dbo->checkConstraints($constraints);
|
101
|
$dbo->checkConstraints($constraints);
|
102
|
return $dbo->getDateTime();
|
102
|
return $dbo->getDateTime();
|
103
|
}
|
103
|
}
|