Timex.Ecto.Date

Support for using Timex with :date fields

Summary

blank?(value)

We can let Ecto handle blank input

cast(input)

Handle casting to Timex.Ecto.Date

dump(datetime)

Convert to native Ecto representation

load(date)

Load from the native Ecto representation

type()

Callback implementation for c:Ecto.Type.type/0

Functions

blank?(value)

We can let Ecto handle blank input

cast(input)

Handle casting to Timex.Ecto.Date

dump(datetime)

Convert to native Ecto representation

load(date)

Load from the native Ecto representation

type()

Callback implementation for c:Ecto.Type.type/0.