culibraries / ir-scholar

CU Scholar - Institutional Repository Hyrax
0 stars 0 forks source link

Date Issued field #8

Closed ryancaillet closed 4 years ago

ryancaillet commented 5 years ago

Use MM-DD-YYYY format, but should allow just YYYY or MM-YYYY if submitter don't have an exact date for a work.

mbstacy commented 4 years ago

@dutr5288 just updated and placed a validate rule for date format. I thought that @andrewjohnson314 wanted YYYY-MM-DD. Depending on the format will need to add YYYY-MM or MM-YYYY.

andrewjohnson314 commented 4 years ago

Just to clarify, we do want YYYY-MM-DD as the general format, but we want to allow for YYYY-MM or YYYY as well. We will definitely have content that only has YYYY.

mbstacy commented 4 years ago

Final allowed formats: YYYY-MM-DD, YYYY-MM, YYYY @dutr5288 will need to update validation rule.

mbstacy commented 4 years ago

@dutr5288 validation rule must also allow nil values

andrewjohnson314 commented 4 years ago

If it's easier, why don't we just make this required? I think everything has/needs this field. We don't have to worry about that before the data ingest, but let's go with that whenever we turn the validation back on.

mbstacy commented 4 years ago

@andrewjohnson314 Date Issued required for all work types? correct?

andrewjohnson314 commented 4 years ago

Correct!

mbstacy commented 4 years ago

Complete