-
-
Notifications
You must be signed in to change notification settings - Fork 858
New issue
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
Handle DateTime values better #3156
Comments
Yes correct, this was the intention and behavior in the previous versions. Thank you for digging into the details. If you can, please do not hesitate to submit a PR. Thanks! |
PR submitted. I wanted to check and see when this behaviour changed and it looks like the array return is present in versions 10 and 9, but I couldn't test any earlier due to PHP version incompatibilities. So it has been like that for a while; I'll leave it to you to decide if there's a possibility of this change being disruptive. |
Summary of problem or feature request
In the
Helper::transformRow()
method there is special code for nicely formatting aDateTime
object into a string value. However, "processing" is done before "transforming" so theHelper::convertToArray()
method has already converted allDateTime
s into arrays.Code snippet of problem
This results in something like this:
Where I think the intent (based on the code in
Helper::transformRow()
) is something like this:System details
The text was updated successfully, but these errors were encountered: