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

Use date-time (RFC 3339) instead of XML dateTime #390

Open
mmccool opened this issue Aug 8, 2022 · 0 comments
Open

Use date-time (RFC 3339) instead of XML dateTime #390

mmccool opened this issue Aug 8, 2022 · 0 comments

Comments

@mmccool
Copy link
Contributor

mmccool commented Aug 8, 2022

  • in the XML definition of dateTime, the timezoneOffset is optional, which makes it ambiguous
  • The TD spec uses dateTime but adds an assertion to follow RFC3339, in which timezoneOffset is mandatory
  • The Discovery spec follows this approach to be consistent
  • However, we really should update the TD and Discovery ontologies to use date-time (following RFC3339 instead) and avoid the current weird patchwork
mmccool added a commit that referenced this issue Aug 8, 2022
* updates

* include VIAMEE results

* absolute time, implied UTC

* date-time


Changed to require conformance with RFC3339, which makes timezone offset mandatory.  Ideally we would get rid of dateTime altogether, follow up in #390
JKRhb pushed a commit to JKRhb/wot-discovery that referenced this issue Mar 28, 2023
* updates

* include VIAMEE results

* absolute time, implied UTC

* date-time


Changed to require conformance with RFC3339, which makes timezone offset mandatory.  Ideally we would get rid of dateTime altogether, follow up in w3c#390
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

1 participant