Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not support milliseconds in date-time format. #5

Open
pnathan opened this issue Jan 10, 2012 · 2 comments
Open

Does not support milliseconds in date-time format. #5

pnathan opened this issue Jan 10, 2012 · 2 comments

Comments

@pnathan
Copy link
Contributor

pnathan commented Jan 10, 2012

BSON element type 0x9 is a millisecond-based time field. http://bsonspec.org/#/specification

Unfortunately, both NOW and DATE-TIME in CL-MONGO do not appear to support this, being limited to second-level resolution.

* (now)

CL-MONGO::BSON-TIME Tue Jan 10 2012 14:06:13 (GMT-5)
* 

Ideally, a LOCAL-TIME object would be exposed, as it supports nano-second timings. http://common-lisp.net/project/local-time/manual.html

@fons
Copy link
Owner

fons commented Jan 10, 2012

ok. I'll see what I can do...

@pnathan
Copy link
Contributor Author

pnathan commented Jan 10, 2012

I'm not intimate with the bson format, but if there is anything I can do to help, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants