Ecto 2.2.11 issue with microseconds and timestamp

Anyone got this strange message after upgrading to Ecto 2.2.11?


Just downgrade to 2.2.10 and it’s working.


Elixir 1.7.2
Erlang 21.0.5

Current behavior

`** (FunctionClauseError) no function clause matching in Ecto.Schema. timestamps /2

The following arguments were given to Ecto.Schema.__timestamps__/2:

    # 1

    # 2

Attempted function clauses (showing 4 out of 4):

    def __timestamps__(:naive_datetime, :second)
    def __timestamps__(:naive_datetime, :microsecond)
    def __timestamps__(type, :second)
    def __timestamps__(type, :microsecond)`

Expected behavior

Changeset working as previous.

OK. After upgrade back again to 2.2.11 and cleaning _build on my umbrella I confirm that it’s working as intended again. Thanks @josevalim