kontent-ai / java-packages

Delivery Java SDK for Kontent.ai including examples for Spring, Gradle, Kotlin and Java Android app
https://kontent.ai/learn/tutorials/develop-apps/overview/?tech=java
MIT License
14 stars 28 forks source link

Invalid ISO 8601 last_modified in ContentTypes response example #12

Closed aweigold closed 7 years ago

aweigold commented 7 years ago

The example JSON on the Kentico API site shows a last_modified date as "1. 1. 0001 0:00:00", which fails ISO 8601 DateTime parsing.

Try to reproduce this with the actual API and add support if it's valid. Otherwise reach out to Kentico to update docs.

aweigold commented 7 years ago

Real API doesn't seem to produce this.

petrsvihlik commented 7 years ago

@aweigold shall we update the docu? Where exactly did you see it?

aweigold commented 7 years ago

The example response here: https://developer.kenticocloud.com/v1/reference#list-content-types

petrsvihlik commented 7 years ago

Submitted to our TWs, they'll fix it soon. Btw - you can suggest edits to the documentation by clicking "Suggest edits" link at each chapter. Signing up is open for everyone.

petrsvihlik commented 7 years ago

I think we can close this issue now, right?

aweigold commented 7 years ago

I'll close it... I knew I could submit it there, but was just not thinking of that... plus my initial reaction was that I was perhaps doing something wrong. Thanks @petrsvihlik !