TIL: Correctly comparing dates in Elixir
Special functions are used to compare dates. With it, you can prepare a comparison based on semantics. Simple functions can solve your problems with incorrect results.
Read next Tracking changes in your Elixir code with the Audit library