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

[object Object] in the csv file #41

Open
RettBehrens opened this issue Dec 19, 2017 · 1 comment
Open

[object Object] in the csv file #41

RettBehrens opened this issue Dec 19, 2017 · 1 comment

Comments

@RettBehrens
Copy link

is there a fix for this that I'm just missing?

@StefanKennedy
Copy link

It sounds like you have a javascript object as a value in one of your entries, like:

new Angular2Csv({
  Date: { day: 1, month: 1, year: 2018 }
}, "Report");

You could fix it by using something like a string instead:

new Angular2Csv({
  Date: "2018-01-01"
}, "Report");

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