diff --git a/lib/search/date_parser.ex b/lib/search/date_parser.ex index a7034d63..146c175b 100644 --- a/lib/search/date_parser.ex +++ b/lib/search/date_parser.ex @@ -106,8 +106,8 @@ defmodule Search.DateParser do |> ignore() pos_2dig_int = - ascii_char('123456789') - |> ascii_char('0123456789') + ascii_char('0123456789') + |> ascii_char('123456789') |> reduce(:to_int) year = integer(4)