Closed bperel closed 10 years ago
This already exists. Use field type date
I should also say that this will convert to and from a DateTime
object.
OK, then shouldn't it be listed in the paragraph "Types supported for model attributes" ?
Very good point. Can you update the README and send a pull request?
Created PR https://github.com/purekid/mongodm/pull/54
The timestamp type exists but I would like to create date fields, i.e. corresponding to MongoDate instances.