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 error on test logs. #625
Comments
I'm unable to replicate this @bitfieldfarm. What browser are you using? I tried in Firefox, and mine looks a little different (no little calendar icon): All of these date inputs (including the log's main https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date Curious: do you have the same issue when you try the example in that link? |
I'm pretty sure I remember something else coming up related to these date pickers in the past, but I wasn't able to quickly find the issue in our queues/forum... I will paste it here if I do. |
Hah.. Didn't pay notice to this, but the screenshot with calendar picker is from Brave. In Firefox I have the same date/time fields as you. But still get the error. But I see now that if I fill the time field too, it works. @mstenta maybe time field in this case could be prefilled and hidden? |
I'm able to replicate this in both Brave and Firebox. This happens if a date is provided without a time when the form is submitted. It is not clear in the UI that both the date and time are required until the error message is shown (and even this this isn't a great error message):
This also happens for the animal birth date timestamp field. I'm not sure of an easy fix... it's not so much an "issue" as it is poor UX.
We did add the |
I was digging for a different bug in the Drupal core issue queue and found this, which sounded related - not sure if it is or not, but I'll drop it here anyway: https://www.drupal.org/project/drupal/issues/2723159 |
Adding a soil sample
When adding a soil sample, and setting a processed or recieved date, there's a date format error.
This is with European date format.
The date is selected from the calendar.
The text was updated successfully, but these errors were encountered: