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

Parsing date error #8

Open
ashish-agarwal24 opened this issue Nov 28, 2016 · 1 comment
Open

Parsing date error #8

ashish-agarwal24 opened this issue Nov 28, 2016 · 1 comment

Comments

@ashish-agarwal24
Copy link

When i am adding timestamps (createdAt and updatedAt) for converting mongo to xl data , I am getting this error "Cannot read property 'SSF' of undefined". That error is coming only when I am adding timestamps. Can someone please help me out ?

timestamps in mongo db :
"updatedAt" : ISODate("2016-11-24T05:50:28.240Z")
"createdAt" : ISODate("2016-11-22T16:23:46.127Z")

@jlberrocal
Copy link

jlberrocal commented May 29, 2017

@ashish-agarwal24 you must be sure that what you are passing to mongo-xlsx is a Date Object, otherwise it will throw an error (that happen to me some time ago). for be sure you can do model.updatedAt = new Date(model.updatedAt)

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