prkng / api

REST API powering Prkng apps and Web services
MIT License
10 stars 8 forks source link

Checkin dates using ISO_8601, without micros #11

Closed mudar closed 8 years ago

mudar commented 8 years ago

Currently, POST /v1/checkins returns the following date format

"checkin_time": "2016-01-13T22:06:40.623486"

using the ISO_8601_MICROS format: "yyyy-MM-dd'T'HH:mm:ss.SSSSSS" while other calls rely on ISO_8601: "yyyy-MM-dd'T'HH:mm:ss"

Could we remove the micros, for consistency? @antonino-u said the iOS app doesn't use that value. or should I send all dates with microseconds?

antonino-u commented 8 years ago

Just confirming that the only property that I use/save after a call to the "/checkins" endpoint is the checkin's "id" property. So changing anything other than this will not affect the iOS app at all.