Nova: datetime field must cast to 'datetime' in eloquent model
So, I want to use a DateTime field in nova, and I have complaint that "datetime field must cast to 'datetime' in eloquent model". The problem is that field is a datetime field in database, and it is casted as well within the model.
If I change the cast to "date" instead, it works, but of time part gets nulled on update and I have no use. Anyone noticed this behaviour?