We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We have an EDTF field. Inputting range date such as 1964/2008 throws the following error: Could not parse the date '1964/2008'
Seems like this is where the checking happens: https://github.com/Islandora/controlled_access_terms/blob/2.x/src/EDTFUtils.php#L193
Additional Notes
<?php $date = "1964/2008"; $pattern = '/^([%\?~])?(Y?(-?[\dX]+)(E\d)?(S\d)?)([%\?~])?-?([%\?~])?([\dX]{2})?([%\?~])?-?([%\?~])?([\dX]{2})?([%\?~])?$/'; preg_match($pattern, $date, $parsed_date); print_r($parsed_date); ?>
It does work in the sandbox!
The text was updated successfully, but these errors were encountered:
Can you check your widget settings. Ensure that "Permit date intervals." is checked:
Sorry, something went wrong.
No branches or pull requests
We have an EDTF field. Inputting range date such as 1964/2008 throws the following error: Could not parse the date '1964/2008'
Seems like this is where the checking happens: https://github.com/Islandora/controlled_access_terms/blob/2.x/src/EDTFUtils.php#L193
Additional Notes
It does work in the sandbox!
The text was updated successfully, but these errors were encountered: