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

[QUESTION] What date format is allowed in NGSI v2 using ISO8601? #1604

Closed
iariasleon opened this issue Dec 9, 2015 · 2 comments
Closed

[QUESTION] What date format is allowed in NGSI v2 using ISO8601? #1604

iariasleon opened this issue Dec 9, 2015 · 2 comments

Comments

@iariasleon
Copy link
Contributor

What date formats are allowed in NGSI v2 using ISO8601?

We see that in NGSI v2 will be use ISO8601, but this norma has several date formats.
https://en.wikipedia.org/wiki/ISO_8601#Times

Some examples of dates:

                                            Basic                                Extended
    -------------------------------------------------------------------------------------------------------------------      
    Calendar date
        local:                           20071103T131805                   2007-11-03T13:18:05
        UTC:                             20071103T161805Z                  2007-11-03T16:18:05Z
        local (relative):                20071103T131805-0300              2007-11-03T13:18:05-03:00

    Ordinal date
        local:                           2007307T131805                    2007-307T13:18:05
        UTC:                             2007307T161805Z,                  2007-307T16:18:05Z,
        local (relative):                2007307T131805-03                 2007-307T13:18:05-03

    Weekly date
        local:                           2007W446T131805                   2007-W44-6T13:18:05
        UTC:                             2007W446T161805Z                  2007-W44-6T16:18:05Z
        local (relative):                2007W446T131805-0300              2007-W44-6T13:18:05-03:00
@kzangeli kzangeli changed the title [QUESTION] What date format are allow in NGSI v2 using ISO8601? [QUESTION] What date format is allowed in NGSI v2 using ISO8601? Dec 9, 2015
@fgalan fgalan added the APIv2 label Dec 9, 2015
@fgalan
Copy link
Member

fgalan commented Dec 9, 2015

It would be interesting to analyze the support of existing ISO8601 C/C++ libraries. If we find a suitable library that support all them, then specification may cover all cases with enough implementability guarantees.

@fgalan
Copy link
Member

fgalan commented Jun 13, 2018

This issue has been considered not essential to be included in final version of NGSIv2, so it will be closed.

CC: @jmcanterafonseca

@fgalan fgalan closed this as completed Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants