Skip to content

Clarify timestamp format #676

@pwinckles

Description

@pwinckles

Someone recently opened a PR (pwinckles/rocfl#27) against rocfl and stated that UTC timestamps must be represented using a Z and not +00:00. I disagree with this, though I can see how the following text could be interpreted that way:

The value of this key is the datetime of creation of this version. It MUST be expressed in the Internet Date/Time Format defined by [RFC3339]. This format requires the inclusion of a timezone value or Z for UTC, and that the time component be granular to the second level (with optional fractional seconds).

In my interpretation, it just needs to be a valid rfc3339 timestamp, and that either UTC representation is fine as they are both valid under rfc3339.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions