cwrc / islandora-etl

Islandora ETL (Extract / Transform / Load)
GNU General Public License v3.0
1 stars 0 forks source link

Date range handling #3

Open ilovan opened 2 years ago

ilovan commented 2 years ago

Add use case for date ranges: canonical MODS handling, as described at https://www.loc.gov/standards/mods/userguide/attributes.html#point


<originInfo>
<dateOther point="start">20011008</dateOther>
<dateOther point="end">20011027</dateOther>
</originInfo>```
ilovan commented 2 years ago

https://www.loc.gov/standards/datetime/ (EDTF date standards)

jefferya commented 2 years ago

I'm unsure what these two should look like with respect to EDTF:

There is an type start and no type end. The output, not sure if it is in proper EDTF (the one after the separator).

orlando:904c6768-01a5-47c9-a45e-fc89a4b492c4 ==> "1976-_workbench_separator_1976"

     <mods:dateOther type="original">1976-</mods:dateOther>
     <mods:dateOther type="start" encoding="iso8601">1976</mods:dateOther>

orlando:1dfee0f8-e4ce-452a-aeae-d83a5055de0c ==> "2002-_workbench_separator_2002"

        <mods:dateOther type="original">2002-</mods:dateOther>
        <mods:dateOther type="start" encoding="iso8601">2002</mods:dateOther>
jefferya commented 2 years ago

https://digital2.library.unt.edu/edtf/