Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1191

Change DateDatum timezone to UTC

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      When DateDatum#plus adds a time value to the self instance, it meaninglessly converts the time value to a local time and then converts the added value back to UTC, which results in error when the user time zone has a negative time offset.


      (Update 12/2/2014)

      After some discussions with Hyunsik and Jong-young, we concluded that DateDatum values must be treated as UTC values, not local times. The actual code change is almost the same as I originally intended, but the overall direction of this issue and upcoming ones are focused on aligning Tajo's timezone policy for date/time data types with PostgreSQL's.

      Changing the summary accordingly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jungjw Jaewoong Jung
                Reporter:
                jungjw Jaewoong Jung
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: