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

When parsing as date don't convert back to JSON string #4

Open
pke opened this issue Apr 20, 2023 · 0 comments
Open

When parsing as date don't convert back to JSON string #4

pke opened this issue Apr 20, 2023 · 0 comments

Comments

@pke
Copy link

pke commented Apr 20, 2023

I was expecting the pipe "parseAs:date" to return a Date object and not a string.

https://github.com/denkan/cheerio-json-mapper/blob/ec23188ce90353c3d046671e073de3537a622759/src/cheerio-json-
mapper.ts#L53

What is the idea behind that? Just to see if the string is a valid date?

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

1 participant