Skip to content
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 format and error in project template request #162

Open
eboileau opened this issue Dec 3, 2024 · 0 comments
Open

Date format and error in project template request #162

eboileau opened this issue Dec 3, 2024 · 0 comments
Assignees
Labels
type:bug Something isn't working

Comments

@eboileau
Copy link
Collaborator

eboileau commented Dec 3, 2024

A clear and concise description of what the bug is.

Date is optional, but as soon as we start typing something, we are forced to enter a full date: Please enter a valid date. This is fine. If we clear out one field, or any two fields (assuming only one or two fields were entered), this is still fine, but if we entered a full date, and clear out any field, then we get

date_published must be a `date` type, but the final value was: `Invalid Date` (cast from the value `""`). 

and we cannot get rid of this error, unless we enter a full date again.

We should also check if we can change the format to YYYY-MM-DD, which is used in the app. The date format in the form is mm/dd/yyyy.

@eboileau eboileau added the type:bug Something isn't working label Dec 3, 2024
@eboileau eboileau self-assigned this Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant