Can't you compare DateTime with '>' or '<' instead of DateTime.compare?
-- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/47f843f2-afca-4a6d-9a5f-7791c181d11dn%40googlegroups.com.