date_params v0.1.0 DateParams

An Elixir library that converts specified values within maps into native Date, DateTime, NaiveDateTime, and Time structs.

Summary

Functions

Converts the value to a DateTime struct

Convert the values within a map to DateTime structs for the given keys. The keys given follows the format for accessing nested structures like in Kernel.get_in/2

Functions

to_struct(value)

Converts the value to a DateTime struct

to_structs(map, keys)

Convert the values within a map to DateTime structs for the given keys. The keys given follows the format for accessing nested structures like in Kernel.get_in/2.