3 ms·
Is there a good writeup on how to use them somewhere?
by quaunaut 10y ago
Is there a good writeup on how to use them somewhere?
- josevalim 10y agoSince that question is related to Ecto, I will take it. :) Right now it is not possible to use the new Calendar types in Ecto. The plan is for Ecto v2.1 to come in about a month, when v1.3 is a bit more stable, and it will introduce the `:datetime`, `:time` and `:date` types that will map to Elixir's v1.3 new Calendar types. TL;DR - not yet, soon.
- anonyfox 10y agoSounds good! I am actually waiting for this exact feature before starting my next project, since I have to deal with a lot of time range queries (all items from the Last 48h, ...) I really appreciate the work of you all!