Closed Rican7 closed 8 years ago
Took a few tries to catch all the places where we were "doing it wrong", but it's good now. Thank god for tests...
/cc: @koenpunt @jpfuentes2
Let's move discussion to upgrading php-unit to #540.
This is why we write tests. Excellent test coverage here, @Rican7 :)
Thanks @jpfuentes2. Tests FTW.
So PR #533 was fantastic in fixing an issue regarding passing in an explicit time-zone during column casting and attribute assigning. Unfortunately, the merge of #532 caused a regression as it overwrote the fix made in #533. 😞
This PR fixes that regression.
The included test makes sure the behavior is correct, and the following snippet demonstrates the issue at hand: