Closed miken32 closed 3 months ago
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