fotonauts/MongoHub-Mac — Issue #10: Updating objects with Date fields breaks the Date fields
Author: bra1n
Created: 2011-10-31 17:22:41+00:00
State: open

Whenever I try to update an object that contains a Date field, saving the object converts the Date field into a Double field, thereby breaking the integrity of the object and losing data:

```{
"_id": { "$oid" : "4EAE9E348157F60B8E000001" },
"_type": "Activity",
"activity_type": "update_client",
"created_at": 1320066612000.000000, (Date)
"updated_at": 1320066612000.000000 (Date)
}```

becomes

```{
"_id": { "$oid" : "4EAE9E348157F60B8E000001" },
"_type": "Activity",
"activity_type": "update_client",
"created_at": 1320066612000, (Double)
"updated_at": 1320066612000 (Double)
}```