[
https://issues.apache.org/jira/browse/PIG-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitriy V. Ryaboy updated PIG-1015:
-----------------------------------
Attachment: date_extractor.patch
Note that this changes the contract slightly, as the DateExtractor extracts
dates in GMT by default, whereas before it extracted them in system's local
time.
> [piggybank] DateExtractor should take into account timezones
> ------------------------------------------------------------
>
> Key: PIG-1015
> URL: https://issues.apache.org/jira/browse/PIG-1015
> Project: Pig
> Issue Type: Bug
> Reporter: Dmitriy V. Ryaboy
> Attachments: date_extractor.patch
>
>
> The current implementation defaults to the local timezone when parsing
> strings, thereby providing inconsistent results depending on the settings of
> the computer the program is executing on (this is causing unit test
> failures). We should set the timezone to a consistent default, and allow
> users to override this default.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.