ahausladen / JsonDataObjects

JSON parser for Delphi 2009 and newer
MIT License
413 stars 160 forks source link

Consider dates without Zulu/timezone as local #44

Closed MvRens closed 5 years ago

MvRens commented 5 years ago

Not sure if you agree with the change in behaviour, but here's a pull request in case you do:

We had issues with a webservice which returns datetimes without the 'Z' indicator or a timezone offset. Officially it seems to be allowed, though it is unspecified how it should be interpreted. Since we can't fix the third party service, I changed JsonDataObjects to regard it as a local time instead of returning 0.