Skip to content

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

@seth-shaw-asu

Description

@seth-shaw-asu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions