Closed towhans closed 7 years ago
This seems to work:
iex(4)> NaiveDateTime.compare( ~N[2002-01-13 23:16:00.00] , ~N[2002-01-13 23:16:00] )
:eq
@towhans Thanks for the report. I see where the error comes from. There is a wrong pattern match for the clean_date
function.
https://github.com/jshmrtn/crontab/blob/master/lib/crontab/scheduler.ex#L289
@towhans Could you check if the PR #46 solves the issue for you?
Both these tests pass which is kind of weird. They should yield the same results but don't. Adding microsend precision changes the result.
Maybe the root cause can is this: