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

EDTF Date doesn't accept L0 date range "1964/2008" #1086

Closed
kayakr opened this issue Apr 15, 2019 · 4 comments
Closed

EDTF Date doesn't accept L0 date range "1964/2008" #1086

kayakr opened this issue Apr 15, 2019 · 4 comments

Comments

@kayakr
Copy link
Contributor

kayakr commented Apr 15, 2019

According to https://www.loc.gov/standards/datetime/edtf.html L1 includes L0, and L0 Time Interval can be of format "1964/2008" but if I enter that value I get an error "Could not parse the date '1964/2008' Years must be at least 4 characters long."

@dannylamb
Copy link
Contributor

@kayakr Thx so much for using the software and reporting issues. I owe you 🍻 if we ever meet IRL.

@seth-shaw-unlv
Copy link
Contributor

@kayakr Can you check the field widget settings and confirm "Permit date intervals" is selected?
Screen Shot 2019-04-15 at 7 23 42 AM. This may be a case where we need to change the default settings to avoid confusion.

@kayakr
Copy link
Contributor Author

kayakr commented Apr 16, 2019

@seth-shaw-unlv Ah, that widget setting wasn't enabled, thanks. I did check the Readme before posting (https://github.com/Islandora-CLAW/controlled_access_terms). I wonder if the readme could be updated: (a) rephrase or remove "EDTF was incorporated in ISO 8601-2019 with some modifications which will be supported in a future update." now that #995 has landed, and (b) mention the EDTF widget settings.

@seth-shaw-unlv
Copy link
Contributor

Resolved via Islandora/controlled_access_terms/pull/25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants