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 sets beginning or ending with .. do not get the range closed between processing each date field value #1751

Open
kspurgin opened this issue Feb 5, 2021 · 1 comment
Labels
Subject: Dates related to managing dates in Islandora. Consider also using the search and metadata tags.

Comments

@kspurgin
Copy link
Contributor

kspurgin commented Feb 5, 2021

To test this, the EDTF widget form settings must have Permit date sets: true

If you enter the following values in the same repeatable date field:

[1667,1668,1670..1672]
[..1760-12-03]
[1760-12..]
[1760-01,1760-02,1760-12..]
[1667,1760-12]

You get this display:

one of the dates: 1667, 1668, 1670 until 1672
one of the dates: 1667, 1668, 1670 until 1672, December 3, 1760 or some earlier date
one of the dates: 1667, 1668, 1670 until 1672, December 3, 1760 or some earlier date, December , 1760 or some later date
one of the dates: 1667, 1668, 1670 until 1672, December 3, 1760 or some earlier date, December , 1760 or some later date, January , 1760, February , 1760, December , 1760 or some later date
one of the dates: 1667, 1668, 1670 until 1672, December 3, 1760 or some earlier date, December , 1760 or some later date, January , 1760, February , 1760, December , 1760 or some later date, 1667, December , 1760

Admittedly, this is a super edgey edge case and it does warn you not to use sets, so I'd call this really low priority. But it was interesting to stumble upon. :-)

@kspurgin
Copy link
Contributor Author

kspurgin commented Feb 5, 2021

meta-issue: #1748

@kstapelfeldt kstapelfeldt added Subject: Dates related to managing dates in Islandora. Consider also using the search and metadata tags. and removed dates labels Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject: Dates related to managing dates in Islandora. Consider also using the search and metadata tags.
Projects
Development

No branches or pull requests

2 participants