Skip to content

Specify date type instead of default erlang date tuple  #105

@ray-sh

Description

@ray-sh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions