0

I've always used "date" and "timestamp" types in my mapping and then dealt with DateTime's everywhere in the objects. Suddenly I'm getting MongoDate and MongoTimestamp objects. Is this a purposeful change or a bug?

Running latest symfony and doctrine master branches.

j0k
  • 22,600
  • 28
  • 79
  • 90
MDrollette
  • 6,887
  • 1
  • 36
  • 49
  • It might be wiser to open an issue on DoctrineMongoDBBundle for this, as it might be related to recent mapping refactoring. Can you specify the commit hashes for DoctrineMongoDBBundle, mongodb-odm, mongodb and common? – jmikola Jul 26 '12 at 18:33
  • Please, read: http://www.mongodb.org/display/DOCS/Data+Types+and+Conventions – FabianoLothor Jul 26 '12 at 19:15
  • 3
    @FabianoLothor: this question pertains to Doctrine ODM's mapping for types used by the PHP Mongo driver (e.g. MongoDate), as described here: http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/reference/basic-mapping.html#doctrine-mapping-types – jmikola Jul 26 '12 at 19:49

0 Answers0