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 (Commented) (JIRA)" <ji...@apache.org> on 2012/01/20 17:47:42 UTC

[jira] [Commented] (TIKA-843) Support for Date without a Time Component

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

Nick Burch commented on TIKA-843:
---------------------------------

Do we want to set a timezone on these? For a date with no time, when turning it into a Java date (which does have a time component), I think it might be better to have it as Midnight UTC rather than Midnight local time (which is what we'd otherwise get). I think Midnight UTC is likely to make more sense

Also, we'll likely want to support the more normal yyyy-mm-dd, as well as the image style yyyy:mm:dd in the patch
                
> Support for Date without a Time Component
> -----------------------------------------
>
>                 Key: TIKA-843
>                 URL: https://issues.apache.org/jira/browse/TIKA-843
>             Project: Tika
>          Issue Type: Improvement
>          Components: metadata
>    Affects Versions: 1.0
>            Reporter: Ray Gauss II
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: date-format-patch.diff
>
>
> Should be able to support parsing of dates without a time component, i.e. 2011:08:31

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira