livebook-dev / kino

Client-driven interactive widgets for Livebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kino.Input.utc_datetime uses DateTime.compare to compare NaiveDateTime values

rhcarvalho opened this issue · comments

Found while working on #327, thanks to ElixirLS Dialyzer.

Turns out that passing any option to Kino.Input.utc_datetime will cause a FunctionClauseError (no function clause matching in DateTime.compare/2).