Hans Glimmerfors

Results 4 issues of Hans Glimmerfors

### Steps to reproduce ``` iex(1)> Timex.format(Timex.shift(Date.utc_today(), days: 1), "{relative}", :relative) {:ok, "in 3 hours"} iex(2)> Timex.format(Timex.shift(Date.utc_today(), days: 2), "{relative}", :relative) {:ok, "tomorrow"} ``` (note that the number of hours...

### Steps to reproduce ``` iex(1)> Timex.Format.DateTime.Formatters.Relative.format(~T[12:00:00], "{relative}") ** (ArithmeticError) bad argument in arithmetic expression: div({:error, :invalid_date}, 31104000) :erlang.div({:error, :invalid_date}, 31104000) (timex 3.7.11) lib/format/datetime/formatters/relative.ex:227: Timex.Format.DateTime.Formatters.Relative.do_format/5 iex:1: (file) iex(1)> Timex.format(~T[12:00:00], "{relative}",...

I was originally playing around with dialyzer in cachex to try to help fix some typespecs, but after stumbling upon `Cachex.Services.Locksmith.start_link/0` which appeared to have no local return, I dove...

(Opening this issue in correlation with https://github.com/whitfin/eternal/pull/6, in case the PR is not merged) `Eternal.Supervisor.start_link/3` shows that `:ets.new/2` is supposed to return a `Eternal.Table.t()`, but the typespecs don't match. `:ets.new/2`...