You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2014/08/15 09:53:19 UTC

[jira] [Commented] (TIKA-1397) Can Tika make the metadata extraction of time stamps as timezone sensitive

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

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

If the data stored in the file has a timezone on it, Tika will take account of that, and it'll be stored+returned by Tika including Timezone information. If it doesn't, it'll be stored + returned by Tika without any timezone information

When fetching the resulting keys from Tika, you get get them as a Java Date object, which when output can be formatted into whatever timezone you like! Alternately, fetch them as strings, and you'll get them back as the standard ISO-8601 format, which you can then parse + handle + display however you like

> 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)