Project

General

Profile

Bug #1388

date format in registry too restrictive

Added by Matt Jones over 15 years ago. Updated over 15 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.

History

#1 Updated by Saurabh Garg over 15 years ago

Fixed.
Replaced text field with drop down menu which lists all months and days

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 1388

Also available in: Atom PDF