[ 
https://issues.apache.org/jira/browse/TIKA-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100396#comment-14100396
 ] 

Nick Burch commented on TIKA-1397:
----------------------------------

Some file formats store their times with timezone information. Some don't. Some 
mix it. Tika includes the timezone where it can

As for the output side, that's probably best done in your own code. Fetch the 
Date object from Tika from the Metadata, then explicitly set a timezone when 
outputting if you want to use a different one.

> Can Tika make the metadata extraction of time stamps as timezone sensitive
> --------------------------------------------------------------------------
>
>                 Key: TIKA-1397
>                 URL: https://issues.apache.org/jira/browse/TIKA-1397
>             Project: Tika
>          Issue Type: Improvement
>          Components: metadata
>    Affects Versions: 0.9
>         Environment: LIFERAY VERSION: 6.1 GA2 
> OPERATING SYSTEM: Red Hat Enterprise 5
> APPLICATION SERVER: Websphere 7.0 
> JAVA VIRTUAL MACHINE: Java 6
> DATABASE: SQL Server 2008 R2 
> PRIMARY BROWSER: IE 8
>            Reporter: Phil Zhang
>            Priority: Trivial
>              Labels: features
>             Fix For: 0.9
>
>
> Currently, when Tika extract the metadata set from a file uploaded, the time 
> stamps are set as UTC timezone. When a user from a specific TimeZone created 
> the file the showed time stamps is not Timezone sensitive. Is it possible to 
> make an improvement on Tika to be able to detect the timezone and then 
> display the time stamps timezone sensitive? 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to