LI3DS / api-li3ds

LI³DS Rest API
GNU General Public License v3.0
0 stars 3 forks source link

Return UTC date times #25

Closed elemoine closed 7 years ago

elemoine commented 7 years ago

Use our own DateTime field instead of flask_restplus'. This is so the API always returns UTC date times, using this format:

011-10-05T15:31:16.320000+00:00
elemoine commented 7 years ago

This fixes bugs in micmac_li3ds where string comparisons are used for dates. Although micmac_li3ds should be better at comparing dates, it also makes sense that api-li3ds consistently returns UTC dates.

elemoine commented 7 years ago

Thanks for the review. I just added a unit test.