Skip to content
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 2.0 #116

Closed
stansmith907 opened this issue Oct 24, 2016 · 3 comments
Closed

date 2.0 #116

stansmith907 opened this issue Oct 24, 2016 · 3 comments
Labels
enhancement Improve or modify an existing feature
Milestone

Comments

@stansmith907
Copy link
Contributor

stansmith907 commented Oct 24, 2016

"date"

Changes:

  1. "description" is an element of type string. This was added in mdJson 2.0 to support Arctic LCC and provide additional information about the date. Definition: "Supplemental information describing the date context.".
{
   "date": {
      "date": "YYYY-MM-DD",
      "dateType": "CI_DateTypeCode",
      "description": ""
   }
}

see ISO XML example citation -3.xml

@stansmith907 stansmith907 added the enhancement Improve or modify an existing feature label Oct 24, 2016
@stansmith907 stansmith907 added this to the 2.0 milestone Oct 24, 2016
@dwalt
Copy link
Collaborator

dwalt commented Oct 26, 2016

I'm a little confused why date is an array. Looking at the old class diagram, the calling class may reference it as an array (CI_Citation>gmd:date), but doesn't appear the date class (CI_Date) is an array itself. Is this a change?

@stansmith907
Copy link
Contributor Author

Not a change, just me getting sloppy. I use the array for testing in all classes. I forgot to change it back in the issue documentation. Will fix it.

@stansmith907
Copy link
Contributor Author

Add a "description" element to "date".

jlblcc added a commit that referenced this issue Jan 31, 2017
@jlblcc jlblcc reopened this Mar 9, 2017
@jlblcc jlblcc closed this as completed Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve or modify an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants