Ecto DateTime Ranges

An Ecto.Type for utilizing tstzrange fields in Postgres.

Installation

def deps do
  [
    {:ecto_date_time_range, "~> 0.1"}
  ]
end

Usage

Up-to-date documentation on how to use the Ecto types provided by this libary can be found in the hex docs:

https://hexdocs.pm/ecto_date_time_range/

Alternatives you might like