Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5494

Time zone tests in DateTimeUtilsTest should pass in Europe/London

    XMLWordPrintableJSON

Details

    Description

      The DateTimeUtilsTest.testSqlDateToUnixDateWithCustomCalendar test fails in the Europe/London time zone. The issue is due to the use of TimeZone.setRawOffset(int) which expects the provided value to be the offset from GMT, but the test provides the offset from UTC.

      Attachments

        Issue Links

          Activity

            People

              freastro Gregory Hart
              freastro Gregory Hart
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m