Allow to disable automatic date detection, closes #1051.

This commit is contained in:
kimchy 2011-07-10 23:44:41 +03:00
parent ced90891ab
commit 1acca2050c
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ public class RootObjectMapper extends ObjectMapper {
} }
if (dateDetection != Defaults.DATE_DETECTION) { if (dateDetection != Defaults.DATE_DETECTION) {
builder.field("date_detection", Defaults.DATE_DETECTION); builder.field("date_detection", dateDetection);
} }
} }
} }