Hubert Drecker
Hubert Drecker
Seems to be a bug. It should come out as you said: `datetime'2024-09-01'`. Can you please try to remove `converter-common`: you then just pass in the ISO8601 format as string...
Thanks for tracking this down. So `converter-v2-to-v4` is introducing this bug... Otherwise it would work as you expect, just a tad too much conversion....
Sure, it's a general conversion bug for V2 and data type `Edm.DateTime`. The conversion performed in v2-to-v4-converter should only happen when converting values from OData and converting JSON request bodies....
Ups, didn't read thoroughly then... But yes, for request and response bodies the data should be as it is converted right now: `/Date(...)/`. See [the spec](https://www.odata.org/documentation/odata-version-2-0/json-format/): chapter 4 specifies it,...
Hi @aabdellah, the fix has been finally released with [@odata2ts/odata2ts: v0.39.2](https://github.com/odata2ts/odata2ts/releases/tag/%40odata2ts%2Fodata2ts-v0.39.2)