We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OData clients/servers deliver date differently. For example, https://services.odata.org/OData/OData.svc/Products deivers field "updated" like this: <updated>2020-05-07T12:41:26Z</updated> .
<updated>2020-05-07T12:41:26Z</updated>
In case of Power BI, it works if the format of the date will be done the following way:
JsonWriter::writeValue
$dateTime = new \DateTime($value, new \DateTimeZone('UTC')); $formattedDateTime = $dateTime->format('Y-m-d\TH:i:s'); $this->writeCore($formattedDateTime, /* quotes */ true);
Current implementation in master is:
$dateTime = new \DateTime($value, new \DateTimeZone('UTC')); $formattedDateTime = $dateTime->format('U')*1000; $this->writeCore('/Date(' . $formattedDateTime . ')/', /* quotes */ true);
Could you please make it configurable?
The text was updated successfully, but these errors were encountered:
Sure, I was also thinking about that new configurator. This is not a high prio item, just a small item to come closer to the merge of our repos.
Sorry, something went wrong.
c-harris
No branches or pull requests
OData clients/servers deliver date differently. For example, https://services.odata.org/OData/OData.svc/Products
deivers field "updated" like this:
<updated>2020-05-07T12:41:26Z</updated>
.In case of Power BI, it works if the format of the date will be done the following way:
JsonWriter::writeValue
Current implementation in master is:
Could you please make it configurable?
The text was updated successfully, but these errors were encountered: