schmittjoh/serializer — pull request #23 by colinmorelli (2013-01-20 03:31:54+00:00)
Title: Fix DateTimeZone issue when using the DateTime type

Currently, (unless I'm missing something), using the timezone parameter of the DateTime type does not work. It attempts to pass the timezone to the createFromFormat method as a string, rather than converting it to a DateTimeZone object first (as it does with the default timezone).

This PR simply wraps that line with a new \DateTimeZone call.