Ecto.Date
An Ecto type for dates.
Summary↑
blank?(value) | Dates are blank when given as strings and the string is blank |
cast(d) | Casts to date |
dump(date) | Converts an |
load(arg1) | Converts a date triplet into an |
local() | Returns an |
to_string(date) | Converts |
type() | The Ecto primitive type |
utc() | Returns an |
Functions
Dates are blank when given as strings and the string is blank.
Casts to date.
Converts an Ecto.Date
into a date triplet.
Converts a date triplet into an Ecto.Date
.
Returns an Ecto.Date
in local time.
Converts Ecto.Date
to its ISO 8601 string representation.
The Ecto primitive type.
Returns an Ecto.Date
in UTC.