Bug #1388
closeddate format in registry too restrictive
0%
Description
The temporal coverage fields require dates of the following format:
YYYY-MM-DD
and specifically does not allow single digit month or day values. The error
message returned when a single digit is used is completely unclear about the
problem:
An error occurred. Most likely some required fields were missing. Please check
the list of errors below and click here to return to the previous form to fill
in all required fields and submit the form again.
• cvc-datatype-valid.1.2.1: '2004-1-1' is not a valid 'dateTime' value.
We should change the registry script to automatically test for single digit
month and day values, and if found to add the leading 0 that is required before
the submission occurs.
Updated by Saurabh Garg over 20 years ago
Fixed.
Replaced text field with drop down menu which lists all months and days