calecto v0.4.4 Calecto.DateTime
Calendar DateTime for Ecto for representing datetimes in any timezone.
This type is only compatible with Postgres.
Summary
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 Calendar.DateTime
The Ecto primitive type
Functions
Converts to a tuple of:
- erlang style tuples with microseconds added
- total_offset in seconds
- timezone
Converts tuple to Calendar.DateTime
Tuple should consist of:
- erlang style tuples with microseconds added
- total_offset in seconds
- timezone