Format of DateTime types
danielkbx opened this issue · comments
Daniel Wetzel commented
When a datetime type is stored in couch, a conversion is made. The used format "Y-m-d H:i:s.u" is both adverse and hard coded.
First, it should be adjustable without changing Doctrine code. Second, why not take a format which is parseable by Spidermonkey like "r" as default?
Daniel Wetzel commented
Okay, I've been too fast. I can, of course, implement my own conversion class and use a format which fits better.
Stupid me.