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

Is there short date supported besides xsd:dateTime #1168

Open
yasenstar opened this issue Sep 23, 2023 · 1 comment
Open

Is there short date supported besides xsd:dateTime #1168

yasenstar opened this issue Sep 23, 2023 · 1 comment

Comments

@yasenstar
Copy link

Hello,

I want to use data property to store one Date information in my ontology, from the built-in data type, I can only choose xsd:dateTime, and I see the validation should be format like "2023-09-23T00:00:00", however, the detail Time portion is not relavent for the information collected.

Is there possible to customize one shortDate type that allow just "2023-09-23" input?

I'm using Protege 5.6.2 now, thanks.

Xiaoqi

@okaihe
Copy link

okaihe commented Jun 24, 2024

Hi, had the same problem. I just went with a text editor into the ontology output file and replaced the "xsd:dateTime" with "xsd:date". After saving and reopening the ontology in Protege "xsd:date" had been added to the built-in data types.

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