symfony/symfony — pull request #3575 by alan0101c (2012-03-12 12:01:51+00:00)
Title: Fixed Timezone bug in DateTimeToTimeStampDataTransformer

After several trials, I found out that the original code

```php
$dateTime = new \DateTime(sprintf("@%s %s", $value, $this->outputTimezone));
```
would create a DateTime object with timezone being '0000', even though $this->outputTimezone is set to my local timezone.

so I expanded the code a bit and it's working now.