-
Notifications
You must be signed in to change notification settings - Fork 98
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
Datetime data type missing timezone and precision #498
Comments
The current specification states that all three representations (JSON, JSON-LD, and CBOR) treat I propose the following logic: If the parser keeps a deserialized I checked the XML schema spec to be sure.
Thus, (of course) it is also valid from a lexical representation point of view. |
CBOR-LD does not do this, and instead stores the value as seconds since the Unix epoch (if it can), or a string otherwise. I'm having a hard time understanding how to translate your proposal into spec text -- @shigeya, could you please provide concrete specification text we could discuss? That might be easier to discuss. |
Okay, now I understand the actual pain point. I think the spec may have a reasonable constraint to the
I see. I will write an actual spec text after I understand the issue with timezone in a similar way. |
This issue will be closed once PR #509 is merged. |
The current
datetime
data type in the specification does not mention timezone or second vs. millisecond precision. This is important for representations to specify. We need a PR to address these shortcomings in the current data model.The text was updated successfully, but these errors were encountered: