carevealed / cavppers

6 stars 3 forks source link

Date data cut off #51

Closed klipska closed 6 years ago

klipska commented 6 years ago

For all the date fields (Date Created, Date Published, and Copyright Date) dates are getting cut off in the .xml unless the .csv has YYYY-MM-DD. This field allows for YYYY, YYYY-MM, and any of the other characters allowed by LOC date formatting (~, ?, u, /). http://www.loc.gov/standards/datetime/pre-submission.html

` 77-0

7` Date Created should be 1977-02. Date Published should be 1978.
klipska commented 6 years ago

There is a weird thing where Islandora sometimes exports dates with ="" so instead of 1977-02-05 it is ="1977-02-05". This is what I'm getting now <pbcoreAssetDate dateType="Created">="1977-02-05"</pbcoreAssetDate>

Note to self: testing with caolaam_000137, 138, and 144

klipska commented 5 years ago

Please do a new release so this fix is included.