[
https://issues.apache.org/jira/browse/PIG-4267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14202213#comment-14202213
]
Brian Johnson commented on PIG-4267:
------------------------------------
for that matter, why are all these piggybank ISO functions converting
everything to UTC in the first place? It seems like what happened is that
timezone support was added and that broke existing tests that all used UTC. The
fix led to incorrect behavior by always using UTC as the default instead of the
configured default timezone.
> 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)