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

Specify date type instead of default erlang date tuple #105

Open
ray-sh opened this issue May 5, 2021 · 0 comments
Open

Specify date type instead of default erlang date tuple #105

ray-sh opened this issue May 5, 2021 · 0 comments

Comments

@ray-sh
Copy link

ray-sh commented May 5, 2021

Thanks for great tools to handle excel format in elixir.

Is there any configuration to make the parser to generate elixir data type instead erlang date tuple?
The reason is when persist the data as map to database, it will report error protocol Jason.Encoder not implemented for {2011, 12, 30} of type Tuple.

So I need to convert the erlang date tuple myself.
Is there some configuration for xlsxir to do this ?or I need to handle the rows returned by Xlsxir.get_list(tid)

Thanks

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