You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2023/01/04 19:45:00 UTC
[jira] [Created] (TIKA-3951) Refactor MailDateParser along lines of mime4j's date parsing
Tim Allison created TIKA-3951:
---------------------------------
Summary: Refactor MailDateParser along lines of mime4j's date parsing
Key: TIKA-3951
URL: https://issues.apache.org/jira/browse/TIKA-3951
Project: Tika
Issue Type: Task
Reporter: Tim Allison
mime4j does a cleaner job of parsing common dates via a static DateTimeFormatterBuilder which creates a threadsafe static DateTimeFormat. Our current code creates a new SimpleDateFormat for each attempt to parse a date.
Because of a bug in jdk8 (see TIKA-3735), we can't literally use their code, but we can, for now, copy it and use it as a model for our MailDateParser.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)