timex_ecto v3.4.0 Timex.Ecto.TimestampWithTimezone
Support for using Timex with :timestamptz fields
Link to this section Summary
Link to this section Functions
    
      
      Link to this function
    
    
  autogenerate(precision \\ :sec)
    
      
      Link to this function
    
    
  cast(dt)
Handle casting to Timex.Ecto.TimestampWithTimezone
    
      
      Link to this function
    
    
  dump(dt)
Convert to the native Ecto representation
    
      
      Link to this function
    
    
  load(dt)
Load from the native Ecto representation
    
      
      Link to this function
    
    
  type()
Returns the underlying schema type for the custom type.
For example, if you want to provide your own date
structures, the type function should return :date.
Note this function is not required to return Ecto primitive types, the type is only required to be known by the adapter.
Callback implementation for Ecto.Type.type/0.