erasmus-without-paper / general-issues

An empty project for tracking issues not related to any specific project.
0 stars 1 forks source link

Stop using ISO 8601 (in favor of xs:dateTime) #27

Closed wrygiel closed 7 years ago

wrygiel commented 7 years ago

All date and dateTimes in our XSDs make use of the xs:date and xs:dateTime data types. However, whenever a date or dateTime is required in a request parameter, it is specified to be in the ISO 8601 format.

When documenting this, I have (wrongly) assumed that these two are the same. It's not the case however. xs:dateTime is a subset of ISO 8601.

I believe it will make it easier for the developers if we specify that all dates and dateTimes should be given in xs:date and xs:dateTime format.

wrygiel commented 7 years ago

Four APIs are affected by this change, one of which is already stable (IIAs API). In general I don't suspect any problems to arise, because these two formats are largely compatible with each other, but since one of the APIs is stable, I would like @erasmus-without-paper/all-members to review this change. If you suspect that this change will cause any problems, please comment.