Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4267

ToDate has incorrect timezone offsets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.0, 0.13.1
    • 0.14.0
    • None
    • None
    • java version 1.7.0_72

    • Reviewed

    Description

      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"

      Attachments

        1. patch
          4 kB
          Brian Johnson
        2. patch
          6 kB
          Brian Johnson
        3. patch
          35 kB
          Brian Johnson
        4. patch
          36 kB
          Brian Johnson
        5. PIG-4267-5.patch
          37 kB
          Daniel Dai

        Activity

          People

            bridiver Brian Johnson
            bridiver Brian Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: