Calecto.DateTimeUTC

Calendar DateTime for Ecto for representing only UTC datetimes

Summary

blank?(value)

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

cast(dt)

Casts to datetime

dump(datetime)

Converts to erlang style tuples with microseconds added

load(arg1)

Converts erlang style tuples to Calendar.DateTime

type()

The Ecto primitive type

Functions

blank?(value)

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

cast(dt)

Casts to datetime.

dump(datetime)

Converts to erlang style tuples with microseconds added

load(arg1)

Converts erlang style tuples to Calendar.DateTime

type()

The Ecto primitive type.