-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with date field #89
Comments
Have you cast the date field to anything in your Eloquent model? |
Yes, |
What if you change the date casting to just being |
It's all date fields. If I take them out it works. |
Hmm, odd. I'll take a look when I have some time over the next few days, if that's okay? |
It's a blocker for us, but I understand. I'll take out those fields for now so the CP at least loads. |
Sorry! I'll see if I can fit it in this evening but I'm pretty busy this evening! If you can figure it out before me, PRs are welcome! |
Yup, if I can fix, I will |
Description
I have a date field (sql type
date
) with this in the blueprint:When I try to load a model detail page in the CP I get a carbon error:
Steps to reproduce
Environment
The text was updated successfully, but these errors were encountered: