FamilySearch/gedcomx

What is the timestamp format?

Closed this issue · 1 comments

The spec doesn't appear to specify the format, just the contents:

A "timestamp" refers to an instance of time, including values for year, month, date, hour, minute, second and timezone.

Is that an omission in the docs or does the spec really not specify? I think there ought to be a standard format. Though I'm not aware of any date-time standard other than ISO 8601 that specify the date and time parts so perhaps ISO 8601 is assumed?

The conceptual model doesn't define any formats. The formats are defined by the serialization format specs. XML already has a format defined (xs:dateTime). JSON format had to be specified as a number (milliseconds since epoch).