Allow to disable automatic date detection, closes #1051.
This commit is contained in:
parent
ced90891ab
commit
1acca2050c
|
@ -256,7 +256,7 @@ public class RootObjectMapper extends ObjectMapper {
|
|||
}
|
||||
|
||||
if (dateDetection != Defaults.DATE_DETECTION) {
|
||||
builder.field("date_detection", Defaults.DATE_DETECTION);
|
||||
builder.field("date_detection", dateDetection);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue