Message Sets: DateTime defaults by logical type

The default value that is assigned to the dateTime Format property is dependent on the logical type of the property.

The following table lists the default for each of the logical dateTime types:

Logical Type Default Format
date yyyy-MM-dd
dateTime yyyy-MM-dd'T'HH:mm:ss
gDay - - -dd
gMonth - -MM
gMonthDay - -MM-dd
gYear yyyy
gYearMonth yyyy-MM
time HH:mm:ssZZZ