Ecto.Date

An Ecto type for dates.

Source

Summary

blank?(value)

Dates are blank when given as strings and the string is blank

cast(d)

Casts to date

dump(date)

Converts an Ecto.Date into a date triplet

load(arg1)

Converts a date triplet into an Ecto.Date

local()

Returns an Ecto.Date in local time

to_string(date)

Converts Ecto.Date to its ISO 8601 string representation

type()

The Ecto primitive type

utc()

Returns an Ecto.Date in UTC

Functions

blank?(value)

Dates are blank when given as strings and the string is blank.

Source
cast(d)

Casts to date.

Source
dump(date)

Converts an Ecto.Date into a date triplet.

Source
load(arg1)

Converts a date triplet into an Ecto.Date.

Source
local()

Returns an Ecto.Date in local time.

Source
to_string(date)

Converts Ecto.Date to its ISO 8601 string representation.

Source
type()

The Ecto primitive type.

Source
utc()

Returns an Ecto.Date in UTC.

Source