Hi!
I'm working on what I think is still a small project with some entities. I want to work with timestamp fields defined without timezones.
Now, doctrine complains apparently because for doctrine datetime fields won't include the milliseconds (and that's not the case).
By looking around, I see that the "parser" of datetime fields can be changed with something like this:
Code:
Doctrine\DBAL\Types\Type::overrideType('datetime', 'Doctrine\DBAL\Types\VarDateTimeType');
http://readthedocs.org/docs/doctrine...or-issues.html
Now I don't get an exception but 0s in all those fields, and that's not OK either.
What is the right approach here? Who has faced this before?