https://github.com/hamiltop/calendar_polyfill
A few issues I found in the process: 1. A breaking change between 1.2 and 1.3 that isn't called out is the move from `:micro_seconds` to `:microseconds` in `System.convert_time_unit/3 2. There's a lot of `with` usage that depends on 1.3 functionality (else, guards, etc) That required some rewriting. Not going to publish to hex until we get a few kinks worked out, but I plan to use this in the rethinkdb driver. On Sun, Jul 3, 2016 at 3:33 AM Alexander <[email protected]> wrote: > The idea: > Create separate hex package which contains following code: > > if 1.3 datatypes do not exist, then register exact copies of them > > Now All the date/time libraries can just use new datatypes without > bothering about its absence > > Does it makes sense? > Is it possible? > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-talk/7373d4af-a4af-4250-80ee-10e3ca54fbb9%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-talk/7373d4af-a4af-4250-80ee-10e3ca54fbb9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CAOMhEnywC6Rf%2Bt9zbgBgz85-aycpAFZE9NDBiTemBVm%2B1Bfepg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
