Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Can't find variable: GenghisDate #135

Closed
rtorcato opened this issue Aug 29, 2013 · 5 comments
Closed

Can't find variable: GenghisDate #135

rtorcato opened this issue Aug 29, 2013 · 5 comments

Comments

@rtorcato
Copy link

get this error when i try to insert document with date: "joinedDate" : Date( 1353168028000 )

@bobthecow
Copy link
Owner

You should use ISODate instead :)

I'll try to make that error go away though.

@rtorcato
Copy link
Author

cool thanks

bobthecow added a commit that referenced this issue Sep 3, 2013
@bobthecow
Copy link
Owner

This should be fixed in develop. Do you mind giving it a spin?

I tested it with this document:

{
    a: Date(1378240369000),
    b: new Date(1378240369000),
    c: Date("2013-09-03T13:32:49-07:00"),
    d: new Date("2013-09-03T13:32:49-07:00"),
    e: ISODate("2013-09-03T13:32:49-07:00"),
    f: new ISODate("2013-09-03T13:32:49-07:00")
}

... and all of 'em work now :)

@bobthecow
Copy link
Owner

I'm assuming that's a yes. Feel free to reopen this issue if it didn't work for you :)

@rtorcato
Copy link
Author

rtorcato commented Dec 3, 2013

sorry yes it was fixed. Thanks

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

No branches or pull requests

2 participants