Don't make relative dates case sensitive

This commit is contained in:
byte[] 2021-10-23 22:12:27 -04:00
parent c9a47b2e82
commit 89ae9a8742

View file

@ -83,7 +83,7 @@ defmodule Philomena.RelativeDate do
{:ok, datetime}
_error ->
parse_relative(input)
parse_relative(String.downcase(input))
end
end