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

Only a small subset of possible ISO 8601 datetimes for datePublished is accepted #26

Open
salexan2001 opened this issue Nov 4, 2024 · 1 comment

Comments

@salexan2001
Copy link

Hello,

during testing the rocrate-validator on some examples for the ELN-File Format, I stumbled upon the following issue for the root data entity metadata:

The regexp for

        sh:path schema_org:datePublished ;
        sh:pattern "^(\\d{4}-\\d{2}-\\d{2})(T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?\\+\\d{2}:\\d{2})?$" ;

seems to much to strict:

ISO 8601 e.g. allows specifying times without time zone designators or times without giving the secons.

@kikkomep
Copy link
Member

kikkomep commented Nov 5, 2024

Hi @salexan2001, thank you for your feedback.
The PR #29 should fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants