Skip to content

Define timestamp format carefully #203

@aphillips

Description

@aphillips

DID Document Metadata
https://www.w3.org/TR/did-resolution/#dfn-created

DID document metadata SHOULD include a created property to indicate the timestamp of the Create operation. The value of the property MUST be a string formatted as an XML Datetime normalized to UTC 00:00:00 and without sub-second decimal precision. For example: 2020-12-20T19:17:47Z.

The definition of created (shown here) defines the intended timestamp format. Several other metadata values (updated, nextUpdate) also use this sort of time stamp.

It would probably be a good idea to separately define the value and to improve the description for clarity. In particular, the operation "normalized to UTC 00:00:00" is undefined.

(Note: I do not have a quibble with the design. This is the right design.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussNeeds further discussion before a pull request can be createdi18n-needs-resolutionIssue the Internationalization Group has raised and looks for a response on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions