Project

General

Profile

Actions

Bug #1388

closed

date format in registry too restrictive

Added by Matt Jones about 20 years ago. Updated almost 20 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
registry
Target version:
Start date:
03/24/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1388

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.

Actions

Also available in: Atom PDF