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

Laika destroys dates when passed using eval #139

Open
cwohlman opened this issue Jul 8, 2014 · 1 comment
Open

Laika destroys dates when passed using eval #139

cwohlman opened this issue Jul 8, 2014 · 1 comment

Comments

@cwohlman
Copy link

cwohlman commented Jul 8, 2014

When you pass objects using eval, Laika doesn't preserve dates as dates, but instead converts them to strings.

This is likely the result of laika using JSON.parse instead of the Meteor (EJSON?) equivalent.

@apendua
Copy link
Collaborator

apendua commented Dec 14, 2014

@cwohlman Yes, exactly. Using EJSON would probably solve this issue.

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