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

[BUG] Undefined array key 3 warning when using date interval in JSON-LD #103

Closed
seth-shaw-asu opened this issue Aug 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@seth-shaw-asu
Copy link
Member

What steps does it take to reproduce the issue?

Create an item with and EDTF interval, e.g. '2022/2023', and view the JSON-LD. This creates a warning in the logs stating "Undefined array key 3" because the converter is expecting a single date.

What did you expect to happen?

No warnings. It should return the earliest ISO 8601 date value for the interval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant