Kalecto.DateTime
Kalends 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) | Cast DateTime |
dump(dt) | Converts to a tuple of:
|
load(arg1) | Converts tuple to |
type() | The Ecto primitive type |
Functions
Datetimes are blank when given as strings and the string is blank.
Cast DateTime
Converts to a tuple of:
- erlang style tuples with microseconds added
- total_offset in seconds
- timezone
Converts tuple to Kalends.DateTime
Tuple should consist of:
- erlang style tuples with microseconds added
- total_offset in seconds
- timezone
The Ecto primitive type.