-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Date Field? #741
Comments
I tried generating a field for type Date:
The generator seemed to run fine, but I'm getting:
Anything I'm doing wrong here? Shouldn't there be fields for Date, Time, and DateTime individually? I use all 3 types typically depending if I need to store one, the other, or both. |
Sorry, we've only got a field for |
Got it, thanks for the info! |
Implemented at #1530 |
I defined an attribute in my schema with type "Date", but it is being defaulted to "DateTime". I tried to update this in ATTRIBUTE_TYPES and change it to Field::Date, but I'm getting: uninitialized constant Administrate::Field::Date.
Are date's without times not supported or am I doing something wrong? I would expect the 00:00:00 to not show up on the form and for the datepicker to not include the time control?
The text was updated successfully, but these errors were encountered: