fix localization thanks to forbiddenapis
@@ -46,6 +46,7 @@ import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Collections;
+import java.util.Locale;
import java.util.Map;
import java.util.Set;
@@ -79,7 +80,7 @@ public class PListParser extends AbstractParser {
EmbeddedDocumentExtractor embeddedDocumentExtractor =
EmbeddedDocumentUtil.getEmbeddedDocumentExtractor(context);
- DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
+ DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ", Locale.US);
NSObject rootObj = null;
try {
if (stream instanceof TikaInputStream && ((TikaInputStream) stream).hasFile()) {
