twitter-api-java-sdk icon indicating copy to clipboard operation
twitter-api-java-sdk copied to clipboard

Fix OffsetDateTime and LocalDate being deserialized into a format unsup…

Open Meuman opened this issue 3 years ago • 1 comments

…ported by the api

Problem

Adding a time parameter (i.e. start_time or end_time) via the sdk causes the date to be deserialized in a format unsupported by the Twitter API.

Solution

I've changed the parameterToString method to deserialize into the correct format

Result

Once this is approved, adding time params to queries will no longer cause an api exception.

Meuman avatar Nov 04 '22 18:11 Meuman

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 04 '22 18:11 CLAassistant