Support #382
Use only the DateTimeISO type
Status: | New | Start date: | 11/16/2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | XML Schema | |||
Target version: | - | |||
Milestones: |
Description
via David Fichtmüller from ABCD Wiki ( http://abcd.biowikifarm.net/wiki/Internal:ABCD_Corrections#Use_only_the_DateTimeISO_type )
(Improvement not backward compatible Status: Suggested)
For all the date related elements which have a simple type (this excludes Date and DateTime) the DateTimeISO type should be used. The only exception would be DateText, as this has to be a String. This would allow for more flexibility, like adding times when useful and not being either forced to by xs:dateTime or restrained from by xs:date. Also both xs:date and xs:dateTime allow for more than 4 digit years. This makes a date like 20012-08-23 valid. In my opinion the disadvantages of potential errors like this outweighs the advantage of being able to point out a specific date 999.997.987 years into the future (yes, only with a 10 or more digit year the validator starts to complain).
Effected Elements:
xs:dateTime
DateLastEdited
MeasurementDateTime
DateCreated
DateModified
xs:date
VerificationDate
CreatedDate
LoanDate
LoanReturnDate
DateIssued
String
AcquisitionDate
AccessionDate
AnnotationDate
PlantingDate
History
#1 Updated by D. Fichtmüller almost 8 years ago
- Project changed from ABCD 3.0 Project to ABCD
- Subject changed from Unit Extension : Use only the DateTimeISO type to Use only the DateTimeISO type
- Category set to XML Schema
- Parent task set to #476