On Mon, 18 May 2015, Alessandro Benedetti wrote:
I am interested in understanding if there is any config param in Tika to
force the rendering of all dates in a specific format. Independently of
the parser.
Nope, you'll need to do it on the output side. The parsers will store the
dates / date times into the metadata object in the form that they come in
with, including the timezone where known.
When fetching the metadata values, you can optionally get the date ones as
a Java date rather than as a string:
https://tika.apache.org/1.7/api/org/apache/tika/metadata/Metadata.html#getDate%28org.apache.tika.metadata.Property%29
If you need things in a specific timezone, format that Date object into
one
Nick