Github user barrotsteindev commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/428#discussion_r207585634
  
    --- Diff: 
solr/core/src/java/org/apache/solr/update/processor/ParseDateFieldUpdateProcessorFactory.java
 ---
    @@ -115,9 +123,10 @@ protected Object mutateValue(Object srcVal) {
               for (Map.Entry<String,DateTimeFormatter> format : 
formats.entrySet()) {
                 DateTimeFormatter parser = format.getValue();
                 try {
    -              DateTime dateTime = parser.parseDateTime(srcStringVal);
    -              return dateTime.withZone(DateTimeZone.UTC).toDate();
    -            } catch (IllegalArgumentException e) {
    +              TemporalAccessor parsedTemporalDate = 
parser.parseBest(srcStringVal, OffsetDateTime::from,
    --- End diff --
    
    Ok, would this be part of another ticket?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to