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

[FEATURE] EDTF - support intervals #122

Closed
AronNovak opened this issue Jun 12, 2024 · 0 comments
Closed

[FEATURE] EDTF - support intervals #122

AronNovak opened this issue Jun 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@AronNovak
Copy link

Overview of feature request
Let's extend the coverage of EDTF, it supports intervals:
https://www.loc.gov/standards/datetime/edtf.html

‘2004-02-01/2005’ is a time interval beginning sometime on February 1, 2004 and ending sometime in 2005. The start endpoint has calendar day precision and the end endpoint has calendar year precision. Similar to the previous example, the precision of the time interval at large is undefined.

But the constraint does not allow to create this.

What kind of user is the feature intended for?

Content author.

What inspired the request?

Our requirements at a client project where intervals are needed, for instance a piece of content can be created during years in some rare cases.

What existing behavior do you want changed?
The validation in EDFUtils: https://github.com/Islandora/controlled_access_terms/blob/2.x/src/EDTFUtils.php#L132

Any brand new behavior do you want to add to Islandora?

Nothing brand new, just better coverage of EDTF specs.

@AronNovak AronNovak added the enhancement New feature or request label Jun 12, 2024
@AronNovak AronNovak changed the title [FEATURE] EFT - support intervals [FEATURE] EDFT - support intervals Jun 12, 2024
@AronNovak AronNovak changed the title [FEATURE] EDFT - support intervals [FEATURE] EDTF - support intervals Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant