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

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

@rtorcato rtorcato commented Aug 29, 2013

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

@bobthecow
Copy link
Owner

@bobthecow bobthecow commented Aug 29, 2013

You should use ISODate instead :)

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

@rtorcato
Copy link
Author

@rtorcato rtorcato commented Aug 30, 2013

cool thanks

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

@bobthecow bobthecow commented Sep 3, 2013

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

@bobthecow bobthecow commented Nov 17, 2013

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

@bobthecow bobthecow closed this Nov 17, 2013
@rtorcato
Copy link
Author

@rtorcato rtorcato commented Dec 3, 2013

sorry yes it was fixed. Thanks

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.