Specify date type instead of default erlang date tuple
ray-sh opened this issue · 1 comments
ray-sh commented
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
brunoripa commented
Yeah, same issue.