timex_ecto v1.0.1 Timex.Ecto.Date

Support for using Timex with :date fields

Summary

Functions

We can let Ecto handle blank input

Handle casting to Timex.Ecto.Date

Convert to native Ecto representation

Load from the native Ecto representation

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

Functions

blank?(value)

We can let Ecto handle blank input

cast(datetime)

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.