pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Johnson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-4267) ToDate has incorrect timezone offsets
Date Thu, 06 Nov 2014 21:50:38 GMT

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

Brian Johnson commented on PIG-4267:
------------------------------------

I'm going to fix the existing ISO functions that don't properly return to the original timezone
and then call this one done. If we want to do any more refactoring it's probably better to
open another ticket.

> ToDate has incorrect timezone offsets
> -------------------------------------
>
>                 Key: PIG-4267
>                 URL: https://issues.apache.org/jira/browse/PIG-4267
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.12.0, 0.13.1
>         Environment: java version 1.7.0_72
>            Reporter: Brian Johnson
>            Assignee: Brian Johnson
>             Fix For: 0.14.0
>
>         Attachments: patch, patch
>
>
> If you set the timezone to 'America/New_York'
> Pig will return "2012-03-30 -05:00" for ToDate(1333166400000) instead of the correct
"2012-03-31 -04:00"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message