Hi,
While applying mappings for a date field, I tried the following in the
date_formats field.
"MM/yyyy", "yyyy/MM/dd HH:mm:ss"
When I submitted content for indexing, this format was generating an error.
java.lang.IllegalArgumentException: Invalid format: "05/2010" is
malformed at "/2010"
at org.joda.time.format.DateTimeFormatter.parseMillis(DateTimeFormatter.java:634)
In the second case, it was "2010/05/03 10:43:00" is malformed at "/05/03"
I noticed that this error is coming up for formats where a slash (/)
is used like yyyy/MM/dd or MM/yyyy
From the Joda documentation and some examples, I figured that formats
like this are valid.
Could this possibly be a bug somewhere or am I missing something ?
Regards,
Mahendra