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

Year values shown as dates #1088

Closed
osma opened this issue Oct 28, 2020 · 1 comment
Closed

Year values shown as dates #1088

osma opened this issue Oct 28, 2020 · 1 comment
Assignees
Labels

Comments

@osma
Copy link
Member

osma commented Oct 28, 2020

At which URL did you encounter the problem?

http://dev.finto.fi/finaf/fi/page/000063257

What steps will reproduce the problem?

  1. Look at the concept page for a resource which has properties with year values

What is the expected output? What do you see instead?

Expected showing just the year (e.g. "1908" or "1979", without the quotes). Instead the year is shown as a ISO formatted date (always 1st of January):

image

In the RDF data these values are just years with the xsd:gYear data type:

    rdaa:P50120 "1979"^^xsd:gYear ;
    rdaa:P50121 "1908"^^xsd:gYear ;
@osma osma added the bug label Oct 28, 2020
@osma osma self-assigned this Oct 28, 2020
@osma
Copy link
Member Author

osma commented Nov 10, 2020

It turns out this is not a Skosmos problem at all. The problem appears earlier, when the data is passed through Skosify. Skosify uses rdflib, which has a bug handling xsd:gYear values: RDFLib/rdflib#747 (duplicate: RDFLib/rdflib#806)

Closing this as it's not related to Skosmos and should be fixed within the RDF data instead.

@osma osma closed this as completed Nov 10, 2020
@osma osma added this to the No further action milestone Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant